diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-07-29 22:20:13 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-07-29 22:20:13 +0200 |
| commit | df0f7d4c4b8ad1d3f317c1d3dab66444a40aca61 (patch) | |
| tree | 825f3ce2f5fa150b4eab95a80f1912cbc13889e0 /lisp/magit-git.el | |
| parent | a6b9d5597730d4e99f1f4eec04d7cef1bcda3424 (diff) | |
Add to eieio--known-slot-names at compile-time still
This fixes the previous commit, [1: a6b9d55977].
1: 2025-07-29 a6b9d5597730d4e99f1f4eec04d7cef1bcda3424
Add to eieio--known-slot-names at run-time too
Diffstat (limited to 'lisp/magit-git.el')
| -rw-r--r-- | lisp/magit-git.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/magit-git.el b/lisp/magit-git.el index 93c0309..4ad83dd 100644 --- a/lisp/magit-git.el +++ b/lisp/magit-git.el @@ -66,8 +66,9 @@ ;; From `magit-status'. (defvar magit-status-show-untracked-files) -(cl-pushnew 'orig-rev eieio--known-slot-names) -(cl-pushnew 'number eieio--known-slot-names) +(eval-and-compile + (cl-pushnew 'orig-rev eieio--known-slot-names) + (cl-pushnew 'number eieio--known-slot-names)) ;;; Options |
