[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate e4a266fbb0 11/13: - removed a duplicated label us
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate e4a266fbb0 11/13: - removed a duplicated label using a constant. |
Date: |
Fri, 16 Sep 2022 11:58:22 -0400 (EDT) |
branch: elpa/annotate
commit e4a266fbb0a91165b739801985fc9c51be9c0336
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 c932cc780e..121dc59be7 100644
--- a/annotate.el
+++ b/annotate.el
@@ -313,6 +313,9 @@ annotation as defined in the database."
(defconst annotate-message-annotation-loaded "Annotations loaded."
"The message shown when annotations has been loaded")
+(defconst annotate-message-annotations-not-found "No annotations found."
+ "The message shown when no annotations has been loaded from the database.")
+
;;;; custom errors
(define-error 'annotate-error "Annotation error")
@@ -1560,7 +1563,7 @@ essentially what you get from:
annotations))
(when (and (null annotations)
annotate-use-messages)
- (message "No annotations found."))
+ (message annotate-message-annotations-not-found))
(when (not (null annotations))
(save-excursion
(dolist (annotation annotations)
@@ -1630,7 +1633,7 @@ example:
(cond
((and (null annotations)
annotate-use-messages)
- (message "No annotations found."))
+ (message annotate-message-annotations-not-found))
(annotations
(save-excursion
(dolist (annotation annotations)
- [nongnu] elpa/annotate d1237bb158 07/13: - shown a warning when killing an indirect buffer;, (continued)
- [nongnu] elpa/annotate d1237bb158 07/13: - shown a warning when killing an indirect buffer;, ELPA Syncer, 2022/09/16
- [nongnu] elpa/annotate e044f6d898 03/13: - updated Changelog., ELPA Syncer, 2022/09/16
- [nongnu] elpa/annotate 145719fe7b 02/13: - increased version number;, ELPA Syncer, 2022/09/16
- [nongnu] elpa/annotate 51e3f6248e 08/13: - updated, and added if missing, docstrings., ELPA Syncer, 2022/09/16
- [nongnu] elpa/annotate d611b272e5 10/13: - removed a duplicated label using a constant., ELPA Syncer, 2022/09/16
- [nongnu] elpa/annotate f166cca70b 13/13: Merge pull request #135 from cage2/fix-closing-indirect-buffer, ELPA Syncer, 2022/09/16
- [nongnu] elpa/annotate ce49471b20 05/13: - returned nil as the actual filename of an indirect buffer., ELPA Syncer, 2022/09/16
- [nongnu] elpa/annotate 51ae976d39 01/13: - fixed an error that was signalled when the annotated buffer was an indirect one., ELPA Syncer, 2022/09/16
- [nongnu] elpa/annotate f8286fb24d 12/13: - updated changelog., ELPA Syncer, 2022/09/16
- [nongnu] elpa/annotate 5f39830efc 06/13: - create a proper buffer from an indirect one that has been annotated., ELPA Syncer, 2022/09/16
- [nongnu] elpa/annotate e4a266fbb0 11/13: - removed a duplicated label using a constant.,
ELPA Syncer <=
- [nongnu] elpa/annotate 72cfd731e9 04/13: - signalled a warning, not an error, when annotated buffer is not visiting a file supported by annotate mode., ELPA Syncer, 2022/09/16