branch: elpa/magit
commit 75980403723f011fe37a0788d9d7423797c64912
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
Comment eval-and-compile forms
This is useful when top-level forms are collapsed.
---
lisp/magit-diff.el | 2 +-
lisp/magit-git.el | 2 +-
lisp/magit-sequence.el | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el
index 1f57cec5957..492acf3bc23 100644
--- a/lisp/magit-diff.el
+++ b/lisp/magit-diff.el
@@ -89,7 +89,7 @@
(declare-function magit-smerge-keep-base "magit-apply" ())
(declare-function magit-smerge-keep-lower "magit-apply" ())
-(eval-and-compile
+(eval-and-compile ;declare slot names
(cl-pushnew 'orig-rev eieio--known-slot-names)
(cl-pushnew 'action-type eieio--known-slot-names)
(cl-pushnew 'target eieio--known-slot-names))
diff --git a/lisp/magit-git.el b/lisp/magit-git.el
index 79a9cadfb6d..13c81e5a682 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -67,7 +67,7 @@
;; From `magit-status'.
(defvar magit-status-show-untracked-files)
-(eval-and-compile
+(eval-and-compile ;declare slot names
(cl-pushnew 'orig-rev eieio--known-slot-names)
(cl-pushnew 'number eieio--known-slot-names))
diff --git a/lisp/magit-sequence.el b/lisp/magit-sequence.el
index 8612f04fb19..d3af3ad0724 100644
--- a/lisp/magit-sequence.el
+++ b/lisp/magit-sequence.el
@@ -32,7 +32,8 @@
;; For `magit-rebase--todo'.
(declare-function git-rebase-current-line "git-rebase" (&optional batch))
-(eval-and-compile
+
+(eval-and-compile ;declare slot names
(cl-pushnew 'abbrev eieio--known-slot-names)
(cl-pushnew 'action eieio--known-slot-names)
(cl-pushnew 'action-options eieio--known-slot-names)