[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate 960b01db30 033/372: add variable for disabling mi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate 960b01db30 033/372: add variable for disabling minibuffer messages |
Date: |
Fri, 4 Feb 2022 16:58:16 -0500 (EST) |
branch: elpa/annotate
commit 960b01db3025ffbe63f4a6def1ff2fd8544858d1
Author: Bastian <basti@bastibe.de>
Commit: Bastian <basti@bastibe.de>
add variable for disabling minibuffer messages
---
annotate.el | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/annotate.el b/annotate.el
index e2b1afdda2..e34ea72487 100644
--- a/annotate.el
+++ b/annotate.el
@@ -5,7 +5,7 @@
;; Maintainer: Bastian Bechtold
;; URL: https://github.com/bastibe/annotate.el
;; Created: 2015-06-10
-;; Version: 0.2.2
+;; Version: 0.2.3
;; This file is NOT part of GNU Emacs.
@@ -46,7 +46,7 @@
;;;###autoload
(defgroup annotate nil
"Annotate files without changing them."
- :version "0.2.2"
+ :version "0.2.3"
:group 'text)
;;;###autoload
@@ -92,6 +92,12 @@
:type 'number
:group 'annotate)
+;;;###autoload
+(defcustom annotate-use-messages t
+ "Whether status messages may appear in the minibuffer."
+ :type 'boolean
+ :group 'annotate)
+
(defun annotate-initialize ()
"Load annotations and set up save hook."
(annotate-load-annotations)
@@ -126,7 +132,8 @@
(push (cons (buffer-file-name) file-annotations)
all-annotations)))
(annotate-dump-annotation-data all-annotations)
- (message "Annotations saved.")))
+ (if annotate-use-messages
+ (message "Annotations saved."))))
;;;###autoload
(defun annotate-export-annotations ()
@@ -275,7 +282,7 @@ annotation, and can be conveniently viewed in diff-mode."
;; remove empty annotations created by earlier bug:
(setq annotations (remove-if (lambda (ann) (eq (nth 2 ann) nil))
annotations))
- (when (eq nil annotations)
+ (when (and (eq nil annotations) annotate-use-messages)
(message "No annotations found."))
(when (not (eq nil annotations))
(save-excursion
@@ -294,7 +301,8 @@ annotation, and can be conveniently viewed in diff-mode."
(1+ (point))
'display
(concat prefix text "\n"))))))
- (message "Annotations loaded."))))
+ (if annotate-use-messages
+ (message "Annotations loaded.")))))
;;;###autoload
(defun annotate-clear-annotations ()
- [nongnu] elpa/annotate 7871adfbd8 320/372: - skipped file left with no annotations when saving., (continued)
- [nongnu] elpa/annotate 7871adfbd8 320/372: - skipped file left with no annotations when saving., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 42587e0623 327/372: - added checks for 'annotate-use-messages' value when trying to print a message., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate d52ee5dec0 359/372: Merge pull request #113 from cage2/master, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate de990d8adf 348/372: - added command to delete an annotation under point;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 6fbd8aa985 357/372: - used variable 'annotate-annotation-confirm-deletion' when asking for deleting an annotation., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 47136434a3 343/372: - cleaned up style using checkdoc;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate f0e4850ef4 356/372: - updated README.org added missing reference to 'annotate-y-or-n-prompt-function'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate f21146ec7a 014/372: add documentation and autoload cookies, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate d19834f627 031/372: fix compile warnings, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e04e0ebc0c 045/372: deactivate mark after creating annotation, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 960b01db30 033/372: add variable for disabling minibuffer messages,
ELPA Syncer <=
- [nongnu] elpa/annotate 426201f246 076/372: - update contributors according to the original author., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 3a062310d0 080/372: - do not checks for fingerprints if annotations file has old format., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 22ae42cb3d 153/372: - removed wrong 'push'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate cc2d32dcbb 165/372: - added a reference of project's homepage in a doc string that is used, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate d10b915857 169/372: Merge pull request #56 from cage2/master, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate fccf7a5b51 178/372: Merge branch 'master' into org-mode-fix, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate ca86e4a511 187/372: - removed org-mode from blacklist., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 822ed91a87 206/372: - fixed exporting and integrations of annotations;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 5e2609e16e 207/372: - optimized 'annotate-previous-annotation-ends' and 'annotate-next-annotation-starts'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 085791450c 215/372: - changed version number., ELPA Syncer, 2022/02/04