[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/consult 42aaed5cc8: No need to use hashed symbol as arg
From: |
ELPA Syncer |
Subject: |
[elpa] externals/consult 42aaed5cc8: No need to use hashed symbol as argument for derived-mode-p |
Date: |
Mon, 29 Jan 2024 12:57:37 -0500 (EST) |
branch: externals/consult
commit 42aaed5cc85dfc21c9c31a43ccbf3db5b347e593
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
No need to use hashed symbol as argument for derived-mode-p
---
consult.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/consult.el b/consult.el
index 1e69e5c9a5..eaee956777 100644
--- a/consult.el
+++ b/consult.el
@@ -1424,7 +1424,7 @@ ORIG is the original function, HOOKS the arguments."
(defun consult--invisible-open-permanently ()
"Open overlays which hide the current line.
See `isearch-open-necessary-overlays' and `isearch-open-overlay-temporary'."
- (if (and (derived-mode-p #'org-mode) (fboundp 'org-fold-show-set-visibility))
+ (if (and (derived-mode-p 'org-mode) (fboundp 'org-fold-show-set-visibility))
;; New Org 9.6 fold-core API
(let ((inhibit-redisplay t)) ;; HACK: Prevent flicker due to premature
redisplay
(org-fold-show-set-visibility 'canonical))
@@ -1436,7 +1436,7 @@ See `isearch-open-necessary-overlays' and
`isearch-open-overlay-temporary'."
(defun consult--invisible-open-temporarily ()
"Temporarily open overlays which hide the current line.
See `isearch-open-necessary-overlays' and `isearch-open-overlay-temporary'."
- (if (and (derived-mode-p #'org-mode)
+ (if (and (derived-mode-p 'org-mode)
(fboundp 'org-fold-show-set-visibility)
(fboundp 'org-fold-core-get-regions)
(fboundp 'org-fold-core-region))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/consult 42aaed5cc8: No need to use hashed symbol as argument for derived-mode-p,
ELPA Syncer <=