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

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

[nongnu] elpa/annotate d611b272e5 10/13: - removed a duplicated label us


From: ELPA Syncer
Subject: [nongnu] elpa/annotate d611b272e5 10/13: - removed a duplicated label using a constant.
Date: Fri, 16 Sep 2022 11:58:22 -0400 (EDT)

branch: elpa/annotate
commit d611b272e5598b63997574f22e9791fa0c899bb9
Author: cage <cage>
Commit: cage <cage@invalid>

    - removed a duplicated label using a constant.
---
 annotate.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/annotate.el b/annotate.el
index dc59ae7e6c..c932cc780e 100644
--- a/annotate.el
+++ b/annotate.el
@@ -310,6 +310,9 @@ annotation as defined in the database."
 (defconst annotate-confirm-deleting-annotation-prompt  "Delete this 
annotation? "
   "Prompt to be shown when asking for annotation deletion confirm.")
 
+(defconst annotate-message-annotation-loaded "Annotations loaded."
+  "The message shown when annotations has been loaded")
+
 ;;;; custom errors
 
 (define-error 'annotate-error "Annotation error")
@@ -1567,7 +1570,7 @@ essentially what you get from:
             (annotate-create-annotation start end annotation-string nil)))))
     (font-lock-flush)
     (when annotate-use-messages
-      (message "Annotations loaded."))))
+      (message annotate-message-annotation-loaded))))
 
 (defun annotate-load-annotations ()
   "Load all annotations from disk and redraw the buffer to render the 
annotations.
@@ -1641,7 +1644,7 @@ example:
                                            annotated-text))))))
         (font-lock-flush)
         (when annotate-use-messages
-          (message "Annotations loaded."))))))
+          (message annotate-message-annotation-loaded))))))
 
 (defun annotate-db-clean-records (records-db)
   "Remove records from arg `RECORDS-DB' that have empty annotation, example:



reply via email to

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