branch: elpa/git-commit
commit ac1b581fc43798051030f28ae25737249d661472
Author: Kyle Meyer <k...@kyleam.com>
Commit: Kyle Meyer <k...@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