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

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

[elpa] externals/pabbrev 5f950c3 3/6: Change default excluded-modes.


From: Phillip Lord
Subject: [elpa] externals/pabbrev 5f950c3 3/6: Change default excluded-modes.
Date: Wed, 18 Feb 2015 22:43:48 +0000

branch: externals/pabbrev
commit 5f950c369c7fc08e02d504ab32757b3d78dcd9c1
Author: Phillip Lord <address@hidden>
Commit: Phillip Lord <address@hidden>

    Change default excluded-modes.
    
    Not that we use an after-string property rather than actually changing
    the buffer, many of the excluded-modes do not need excluding any more.
---
 pabbrev.el |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/pabbrev.el b/pabbrev.el
index d47bbb0..e8fb1f5 100644
--- a/pabbrev.el
+++ b/pabbrev.el
@@ -447,16 +447,13 @@ I'm not telling you which version, I prefer."
 (mapc
  (lambda(x)
    (put x 'pabbrev-global-mode-excluded-modes t))
- `(shell-mode                           ;FIXME: Why?
-   Custom-mode
-   custom-mode
+ `(
+   ;; I put this in at one point -- probably not needed now, but I have no
+   ;; where to test it.
    telnet-mode
    term-mode
-   dired-mode
-   eshell-mode                          ;FIXME: Why?
-   slime-repl-mode                      ;FIXME: Why?
-   nrepl-mode                           ;FIXME: Why?
-   cider-repl-mode                      ;FIXME: Why?
+   ;; eshell uses it's own tab binding, so abbrevs get offered but not expanded
+   eshell-mode
    ;; gnus article mode is read-only so should be missed anyway,
    ;; but it does something wierd so that it's not
    gnus-article-mode



reply via email to

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