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

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

[nongnu] elpa/git-commit ac1b581: git-commit-turn-on-orglink: Fix code t


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit ac1b581: git-commit-turn-on-orglink: Fix code typo from last commit
Date: Thu, 7 Oct 2021 21:57:53 -0400 (EDT)

branch: elpa/git-commit
commit ac1b581fc43798051030f28ae25737249d661472
Author: Kyle Meyer <kyle@kyleam.com>
Commit: Kyle Meyer <kyle@kyleam.com>

    git-commit-turn-on-orglink: Fix code typo from last commit
---
 lisp/git-commit.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/git-commit.el b/lisp/git-commit.el
index fb689d9..a9de166 100644
--- a/lisp/git-commit.el
+++ b/lisp/git-commit.el
@@ -625,7 +625,7 @@ to `git-commit-fill-column'."
   "Turn on Orglink mode if it is available.
 If `git-commit-major-mode' is `org-mode', then silently forgo
 turning on `orglink-mode'."
-  (when (and (not (derived-mode 'org-mode))
+  (when (and (not (derived-mode-p 'org-mode))
              (boundp 'orglink-match-anywhere)
              (fboundp 'orglink-mode))
     (setq-local orglink-match-anywhere t)



reply via email to

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