[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate 0e5ccfdb4e 326/372: - replaced 'if' with 'when' w
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate 0e5ccfdb4e 326/372: - replaced 'if' with 'when' when no 'else' branch exists. |
Date: |
Fri, 4 Feb 2022 16:59:15 -0500 (EST) |
branch: elpa/annotate
commit 0e5ccfdb4e033f29812593c7c47baf7b2d4d603f
Author: cage <cage@localhost>
Commit: cage <cage@invalid>
- replaced 'if' with 'when' when no 'else' branch exists.
---
annotate.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/annotate.el b/annotate.el
index d134b67442..198fe7a392 100644
--- a/annotate.el
+++ b/annotate.el
@@ -1405,8 +1405,8 @@ essentially what you get from:
(annotate-dump-annotation-data (cl-remove-if (lambda (entry)
(null
(annotate-annotations-from-dump entry)))
all-annotations))
- (if annotate-use-messages
- (message "Annotations saved."))))
+ (when annotate-use-messages
+ (message "Annotations saved."))))
(defun annotate-load-annotation-old-format ()
"Load all annotations from disk in old format."
@@ -1429,8 +1429,8 @@ essentially what you get from:
(annotate-create-annotation start end annotation-string nil)))))
(set-buffer-modified-p modified-p)
(font-lock-flush)
- (if annotate-use-messages
- (message "Annotations loaded."))))
+ (when annotate-use-messages
+ (message "Annotations loaded."))))
(defun annotate-load-annotations ()
"Load all annotations from disk and redraw the buffer to render the
annotations.
- [nongnu] elpa/annotate 9ea6c4fc71 247/372: - signalled errors when query parsing errors occurs., (continued)
- [nongnu] elpa/annotate 9ea6c4fc71 247/372: - signalled errors when query parsing errors occurs., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate cc0b5da6c1 229/372: Merge pull request #69 from cage2/switch-database, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 914c9ee5b9 264/372: Fixed a regression and some bugs related to incorrect calculation of, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 0b71184865 269/372: - updated changelog., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 3b4ee73c8d 275/372: - stored abbreviated filenames for the path component of each record, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate c4a56cc33d 306/372: - added missing argument to 'annotate-create-annotation'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 9fc6d7a839 311/372: - allowed deleting of annotations for info files., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 54ac759fac 315/372: Merge pull request #99 from cage2/remove-some-compilation-warnings, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 4ae1d4f2a6 346/372: Merge pull request #112 from cage2/clean-style, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 8471cdaa7c 328/372: - updated Changelog., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 0e5ccfdb4e 326/372: - replaced 'if' with 'when' when no 'else' branch exists.,
ELPA Syncer <=
- [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