From: Mark Wooding Date: Tue, 31 May 2016 17:31:32 +0000 (+0100) Subject: dot/emacs: Expunge `try-expand-list' from the expanders. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/737620637836266467b4de02ac53befc28166246 dot/emacs: Expunge `try-expand-list' from the expanders. It usually results in a vast spew of crap that I didn't want. --- diff --git a/dot/emacs b/dot/emacs index 5781453..5b08674 100644 --- a/dot/emacs +++ b/dot/emacs @@ -618,6 +618,13 @@ (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])