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

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

[elpa] externals/objed 60d4e97 214/216: Dont init when starting commit m


From: Stefan Monnier
Subject: [elpa] externals/objed 60d4e97 214/216: Dont init when starting commit message
Date: Tue, 8 Jan 2019 12:29:43 -0500 (EST)

branch: externals/objed
commit 60d4e97ca543a6ab560ed503c7c39bbdc249e89e
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>

    Dont init when starting commit message
---
 objed.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/objed.el b/objed.el
index 6491786..cf223d7 100644
--- a/objed.el
+++ b/objed.el
@@ -1096,7 +1096,8 @@ See `objed-cmd-alist'."
   (and (eq (key-binding (kbd "C-n"))
            #'next-line)
        (not (minibufferp))
-       (not (and (not buffer-read-only) (bobp)))
+       (not (and (bobp)
+                 (bound-and-true-p 'git-commit-mode)))
        (not (and (bobp) (eobp)))
        ;; only for modes which do not
        ;; their their own modal setup



reply via email to

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