emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/jinx 50dfdcdbde: No need to use hashed symbol as argume


From: ELPA Syncer
Subject: [elpa] externals/jinx 50dfdcdbde: No need to use hashed symbol as argument for derived-mode-p
Date: Mon, 29 Jan 2024 12:58:18 -0500 (EST)

branch: externals/jinx
commit 50dfdcdbdeb320fe0cf02006c90d087eb7a9787d
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
---
 jinx.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/jinx.el b/jinx.el
index 363725f0f7..bfc64143f3 100644
--- a/jinx.el
+++ b/jinx.el
@@ -534,7 +534,7 @@ If CHECK is non-nil, always check first."
 (defun jinx--get-org-language ()
   "Get language from Org #+language keyword."
   (when (and (not (local-variable-p 'jinx-languages))
-             (derived-mode-p #'org-mode))
+             (derived-mode-p 'org-mode))
     (save-excursion
       (save-match-data
         (goto-char (point-min))
@@ -622,7 +622,7 @@ If CHECK is non-nil, always check first."
     (goto-char (overlay-end overlay))
     (unwind-protect
         (progn
-          (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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]