Index: emacs/lisp/play/landmark.el
diff -c emacs/lisp/play/landmark.el:1.22 emacs/lisp/play/landmark.el:1.23
*** emacs/lisp/play/landmark.el:1.22 Thu May 12 00:45:41 2005
--- emacs/lisp/play/landmark.el Thu May 26 15:26:09 2005
***************
*** 248,253 ****
--- 248,254 ----
Entry to this mode calls the value of `lm-mode-hook' if that value
is non-nil. One interesting value is `turn-on-font-lock'."
(interactive)
+ (kill-all-local-variables)
(setq major-mode 'lm-mode
mode-name "Lm")
(lm-display-statistics)
***************
*** 255,261 ****
(make-local-variable 'font-lock-defaults)
(setq font-lock-defaults '(lm-font-lock-keywords t))
(toggle-read-only t)
! (run-hooks 'lm-mode-hook))
;;;_ + THE SCORE TABLE.
--- 256,262 ----
(make-local-variable 'font-lock-defaults)
(setq font-lock-defaults '(lm-font-lock-keywords t))
(toggle-read-only t)
! (run-mode-hooks 'lm-mode-hook))
;;;_ + THE SCORE TABLE.
_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs