chiark / gitweb /
dot/emacs: Expunge `try-expand-list' from the expanders.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 31 May 2016 17:31:32 +0000 (18:31 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 31 May 2016 17:31:32 +0000 (18:31 +0100)
It usually results in a vast spew of crap that I didn't want.

dot/emacs

index 57814537a1756c75ae98dc73657e9ffd300682d5..5b08674abba00557561dcd6041aca487769836b4 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
   (and (not mdw-fast-startup) (fboundp 'hippie-expand)
        (global-set-key [?\M-?] 'hippie-expand)))
 
+(eval-after-load "hippie-exp"
+  '(setq hippie-expand-try-functions-list
+        (remove-if (lambda (name)
+                     (memq name '(try-expand-list
+                                  try-expand-list-all-buffers)))
+                   hippie-expand-try-functions-list)))
+
 (eval-after-load "dired"
   '(progn
      (or (lookup-key dired-mode-map  [?\C-x ?\C-q])