Index: emacs/lisp/abbrev.el
diff -c emacs/lisp/abbrev.el:1.40 emacs/lisp/abbrev.el:1.41
*** emacs/lisp/abbrev.el:1.40   Sat Apr 23 12:32:53 2005
--- emacs/lisp/abbrev.el        Mon Jun 13 11:56:12 2005
***************
*** 134,142 ****
    "Major mode for editing the list of abbrev definitions.
  \\{edit-abbrevs-map}"
    (interactive)
    (setq major-mode 'edit-abbrevs-mode)
    (setq mode-name "Edit-Abbrevs")
!   (use-local-map edit-abbrevs-map))
  
  (defun edit-abbrevs ()
    "Alter abbrev definitions by editing a list of them.
--- 134,144 ----
    "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)
!   (run-mode-hooks 'edit-abbrevs-mode-hook))
  
  (defun edit-abbrevs ()
    "Alter abbrev definitions by editing a list of them.


_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to