Commit 52167727 authored by Lute Kamstra's avatar Lute Kamstra
Browse files

(fundamental-mode): Run after-change-major-mode-hook conditionally.

parent 04cedb11
2005-06-16 Lute Kamstra <lute@gnu.org>
* simple.el (fundamental-mode): Run after-change-major-mode-hook
conditionally.
2005-06-16 Juanma Barranquero <lekktu@gmail.com>
 
* tooltip.el (tooltip-start-delayed-tip, tooltip-timeout)
......
......@@ -327,7 +327,8 @@ location."
Other major modes are defined by comparison with this one."
(interactive)
(kill-all-local-variables)
(run-hooks 'after-change-major-mode-hook))
(unless delay-mode-hooks
(run-hooks 'after-change-major-mode-hook)))
;; Making and deleting lines.
......@@ -4842,7 +4843,7 @@ of the differing parts is, by contrast, slightly highlighted."
(if (minibufferp mainbuf)
(if (and (symbolp minibuffer-completion-table)
(get minibuffer-completion-table 'completion-base-size-function))
(setq completion-base-size
(setq completion-base-size
(funcall (get minibuffer-completion-table 'completion-base-size-function)))
(setq completion-base-size 0))))
;; Put faces on first uncommon characters and common parts.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment