[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
completion-lisp-mode-hook not used for Emacs-Lisp-mode
From: |
Alan |
Subject: |
completion-lisp-mode-hook not used for Emacs-Lisp-mode |
Date: |
Sun, 23 Jun 2013 07:12:18 -0700 (PDT) |
User-agent: |
G2/1.0 |
File "completion.el" recommends putting "(dynamic-completion-mode)" in .emacs,
for using completions. Doing so has the result that function
"completion-lisp-mode-hook" is added to the hook variable "lisp-mode-hook".
But for Emacs lisp code the mode is "Emacs-Lisp-mode", which has hook variable
"emacs-lisp-mode-hook", so function "completion-lisp-mode-hook" isn't run when
one edits Emacs lisp. There seems to be a disconnect here.
I am using
GNU Emacs 24.2.1 (i386-mingw-nt5.1.2600) of 2012-08-28 on MARVIN
- completion-lisp-mode-hook not used for Emacs-Lisp-mode,
Alan <=