[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/objed d826c0f 216/216: Improve non interactive init
From: |
Stefan Monnier |
Subject: |
[elpa] externals/objed d826c0f 216/216: Improve non interactive init |
Date: |
Tue, 8 Jan 2019 12:29:44 -0500 (EST) |
branch: externals/objed
commit d826c0f4969733e4f5275f564872e23b9a55f125
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>
Improve non interactive init
---
objed.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/objed.el b/objed.el
index b299218..72ace9e 100644
--- a/objed.el
+++ b/objed.el
@@ -173,9 +173,10 @@ See also `objed-disabled-p'"
:type '(repeat symbol))
(defcustom objed-init-p-function #'objed-init-p
- "Function which test if objed is allowd to initialize.
+ "Function which tests if objed is allowed to initialize.
-The function should return nil if objed should not initialize."
+This is only used for non-interactive initialization. The
+function should return nil if objed should not initialize."
:type 'function)
@@ -1059,7 +1060,6 @@ See `objed-cmd-alist'."
(not objed-disabled-p)
(not (eq (cadr overriding-terminal-local-map)
objed-map))
- (funcall objed-init-p-function)
(or (not objed-disabled-modes)
(not (apply 'derived-mode-p objed-disabled-modes))))
(objed--init cmd)))
@@ -1098,6 +1098,7 @@ See `objed-cmd-alist'."
(not (minibufferp))
(not (and (bobp)
(bound-and-true-p git-commit-mode)))
+ (not (derived-mode-p 'comint-mode))
(not (and (bobp) (eobp)))
;; only for modes which do not
;; their their own modal setup
- [elpa] externals/objed 806c681 209/216: Improve objed-activate conditions, (continued)
- [elpa] externals/objed 806c681 209/216: Improve objed-activate conditions, Stefan Monnier, 2019/01/08
- [elpa] externals/objed d7a7c74 175/216: Improve python defun object, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 1af3cc7 190/216: Allow minibuffer input in non interactive function ops, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 101fd9f 179/216: Improve org section object, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 60d4e97 214/216: Dont init when starting commit message, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 72f1807 188/216: Use anzu if available, Stefan Monnier, 2019/01/08
- [elpa] externals/objed a30956f 202/216: Make objed-activate callable from hooks (init with char), Stefan Monnier, 2019/01/08
- [elpa] externals/objed ea2ac9e 137/216: Face used in mode line should be less prominent, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 03520df 208/216: Ignore user remappings for objed-quit-window, Stefan Monnier, 2019/01/08
- [elpa] externals/objed f50dee4 184/216: Allow to use eval-region instead ielm repl for Elisp, Stefan Monnier, 2019/01/08
- [elpa] externals/objed d826c0f 216/216: Improve non interactive init,
Stefan Monnier <=