diff options
author | Lute Kamstra <lute@gnu.org> | 2005-06-13 11:56:12 +0000 |
---|---|---|
committer | Lute Kamstra <lute@gnu.org> | 2005-06-13 11:56:12 +0000 |
commit | 1a96d1f37a91c0f85f5f91e71025fa35488f2927 (patch) | |
tree | e769481c42d954173122ef2c93f8f5b60fed4253 /lisp/abbrev.el | |
parent | 2702394e7cc558300e8ba74d0b3882f6f1897cc7 (diff) | |
download | emacs-1a96d1f37a91c0f85f5f91e71025fa35488f2927.tar.gz |
(edit-abbrevs-mode): Use kill-all-local-variables and run-mode-hooks.
Diffstat (limited to 'lisp/abbrev.el')
-rw-r--r-- | lisp/abbrev.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/abbrev.el b/lisp/abbrev.el index 711e8e2ebe9..0a40768af31 100644 --- a/lisp/abbrev.el +++ b/lisp/abbrev.el @@ -134,9 +134,11 @@ Otherwise display all abbrevs." "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. |