mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(edit-abbrevs-mode): Use kill-all-local-variables and run-mode-hooks.
This commit is contained in:
parent
2702394e7c
commit
1a96d1f37a
1 changed files with 3 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue