Mercurial > emacs
diff lisp/abbrev.el @ 63371:6d35491e8a34
(edit-abbrevs-mode): Use kill-all-local-variables and run-mode-hooks.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Mon, 13 Jun 2005 11:56:12 +0000 |
parents | f585c8c92ae1 |
children | 6fb026ad601f a1b34dec1104 |
line wrap: on
line diff
--- a/lisp/abbrev.el Mon Jun 13 11:54:48 2005 +0000 +++ b/lisp/abbrev.el Mon Jun 13 11:56:12 2005 +0000 @@ -134,9 +134,11 @@ "Major mode for editing the list of abbrev definitions. \\{edit-abbrevs-map}" (interactive) + (kill-all-local-variables) (setq major-mode 'edit-abbrevs-mode) (setq mode-name "Edit-Abbrevs") - (use-local-map edit-abbrevs-map)) + (use-local-map edit-abbrevs-map) + (run-mode-hooks 'edit-abbrevs-mode-hook)) (defun edit-abbrevs () "Alter abbrev definitions by editing a list of them.