diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-07-29 20:55:13 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-07-29 20:55:13 +0200 |
| commit | a6b9d5597730d4e99f1f4eec04d7cef1bcda3424 (patch) | |
| tree | 33e59e095d3a6a49a47b1f0c8ad41039a492bae0 /lisp/magit-git.el | |
| parent | 406a3094a883ecf45df277fa920e7ec547b5552a (diff) | |
Add to eieio--known-slot-names at run-time too
The libraries that make these additions are not the only ones that
use them before the respective classes are defined. When compiling
those other libraries we also don't want these warnings.
Diffstat (limited to 'lisp/magit-git.el')
| -rw-r--r-- | lisp/magit-git.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/magit-git.el b/lisp/magit-git.el index b7a6422..93c0309 100644 --- a/lisp/magit-git.el +++ b/lisp/magit-git.el @@ -66,9 +66,8 @@ ;; From `magit-status'. (defvar magit-status-show-untracked-files) -(eval-when-compile - (cl-pushnew 'orig-rev eieio--known-slot-names) - (cl-pushnew 'number eieio--known-slot-names)) +(cl-pushnew 'orig-rev eieio--known-slot-names) +(cl-pushnew 'number eieio--known-slot-names) ;;; Options |
