emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/annotate 8937294206 083/372: - better naming a function.


From: ELPA Syncer
Subject: [nongnu] elpa/annotate 8937294206 083/372: - better naming a function.
Date: Fri, 4 Feb 2022 16:58:20 -0500 (EST)

branch: elpa/annotate
commit 89372942062c59393fdbe3f6a68d637942640999
Author: cage <cage-invalid@invalid>
Commit: cage <cage-invalid@invalid>

    - better naming a function.
---
 annotate.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/annotate.el b/annotate.el
index a587ce8e06..ba6497bec5 100644
--- a/annotate.el
+++ b/annotate.el
@@ -62,7 +62,7 @@
   :lighter " Ann"
   :keymap (make-sparse-keymap)
   :group 'annotate
-  :after-hook (annotate-after-hook))
+  :after-hook (annotate-initialize-maybe))
 
 (define-key annotate-mode-map (kbd "C-c C-a") 'annotate-annotate)
 
@@ -134,7 +134,7 @@ major mode is a member of this list (space separated 
entries)."
   :type  '(repeat symbol)
   :group 'annotate)
 
-(defun annotate-after-hook ()
+(defun annotate-initialize-maybe ()
   (let ((annotate-allowed-p (with-current-buffer (current-buffer)
                               (not (cl-member major-mode 
annotate-blacklist-major-mode)))))
     (cond



reply via email to

[Prev in Thread] Current Thread [Next in Thread]