[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/doc-view-follow 2fe456f9c1 29/43: Fix docstring and use
From: |
ELPA Syncer |
Subject: |
[elpa] externals/doc-view-follow 2fe456f9c1 29/43: Fix docstring and use when-let* in doc-follow--manage-advice |
Date: |
Sun, 13 Apr 2025 12:58:30 -0400 (EDT) |
branch: externals/doc-view-follow
commit 2fe456f9c15768250f545879fde62ade1b2af56a
Author: Paul Nelson <ultrono@gmail.com>
Commit: Paul Nelson <ultrono@gmail.com>
Fix docstring and use when-let* in doc-follow--manage-advice
* doc-follow.el (doc-follow--manage-advice): Fix quote syntax in
docstring to use Emacs Lisp syntax highlighting properly. Use
when-let* instead of when-let.
---
doc-follow.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc-follow.el b/doc-follow.el
index 19510397fd..153d65ab12 100644
--- a/doc-follow.el
+++ b/doc-follow.el
@@ -118,11 +118,11 @@ by adding entries to this list.")
windows))))))
(defun doc-follow--manage-advice (add-or-remove)
- "Add or remove advice for all functions in `doc-follow-modes`.
-ADD-OR-REMOVE should be either 'add or 'remove."
+ "Add or remove advice for all functions in `doc-follow-modes'.
+ADD-OR-REMOVE should be either \\='add or \\='remove."
(dolist (mode-entry doc-follow-modes)
(dolist (action '(:goto :next :prev))
- (when-let ((func (plist-get (cdr mode-entry) action)))
+ (when-let* ((func (plist-get (cdr mode-entry) action)))
(if (eq add-or-remove 'add)
(advice-add func :after #'doc-follow--sync-pages)
(advice-remove func #'doc-follow--sync-pages))))))
- [elpa] externals/doc-view-follow 30b6c7d89f 18/43: Simplify page synchronization in doc-dual-view, (continued)
- [elpa] externals/doc-view-follow 30b6c7d89f 18/43: Simplify page synchronization in doc-dual-view, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow 047d62d298 06/43: Add README.org, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow a6367597c5 08/43: use pdf-view-goto-page as redisplay function, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow dbb037d285 02/43: Add files via upload, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow 0b71ebc307 15/43: Refactor doc-dual-view--sync-pages to use seq-do-indexed, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow c643234ec1 22/43: Remove sync delay and simplify page synchronization, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow eb1f6f0ed7 23/43: Improve advice management, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow ff22254e12 25/43: update README, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow fb243e046e 24/43: Rename: doc-dual-view -> doc-follow, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow c5dad4fd8d 27/43: Fix ordering of `doc-follow-mode` definition, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow 2fe456f9c1 29/43: Fix docstring and use when-let* in doc-follow--manage-advice,
ELPA Syncer <=
- [elpa] externals/doc-view-follow f1318fce9a 30/43: Outsource window sorting to follow.el, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow 87db39b1ec 35/43: Rename doc-follow -> doc-view-follow, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow 592eb01b8b 37/43: Refactor using generics, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow 9fd8086ad7 16/43: Remove unused redisplay timer, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow 61040e8446 21/43: Define and extract delay value for page synchronization, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow 2fe6cb676b 39/43: Add convenience function to toggle appropriate follow mode, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow 490c1967ba 42/43: Add prefix map, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow 22b5282886 07/43: fix argument bug, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow bc3d5c0370 05/43: Add global-doc-dual-view-mode, ELPA Syncer, 2025/04/13
- [elpa] externals/doc-view-follow af8c505143 13/43: Refactor doc-dual-view--sync-pages, ELPA Syncer, 2025/04/13