1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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

This commit is contained in:
Lute Kamstra 2005-06-16 12:40:54 +00:00
parent 04cedb114c
commit 521677279b
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
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)

View file

@ -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.