[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/easy-mmode.el
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/easy-mmode.el |
Date: |
Mon, 26 Aug 2002 12:40:49 -0400 |
Index: emacs/lisp/emacs-lisp/easy-mmode.el
diff -c emacs/lisp/emacs-lisp/easy-mmode.el:1.40
emacs/lisp/emacs-lisp/easy-mmode.el:1.41
*** emacs/lisp/emacs-lisp/easy-mmode.el:1.40 Wed Aug 14 21:06:05 2002
--- emacs/lisp/emacs-lisp/easy-mmode.el Mon Aug 26 12:40:49 2002
***************
*** 190,200 ****
,@body
;; The on/off hooks are here for backward compatibility only.
(run-hooks ',hook (if ,mode ',hook-on ',hook-off))
- ;; Return the new setting.
(if (interactive-p)
! (message ,(format "%s %%sabled" pretty-name)
! (if ,mode "en" "dis")))
(force-mode-line-update)
,mode)
;; Autoloading an easy-mmode-define-minor-mode autoloads
--- 190,202 ----
,@body
;; The on/off hooks are here for backward compatibility only.
(run-hooks ',hook (if ,mode ',hook-on ',hook-off))
(if (interactive-p)
! (progn
! ,(if globalp `(customize-mark-as-set ',mode))
! (message ,(format "%s %%sabled" pretty-name)
! (if ,mode "en" "dis"))))
(force-mode-line-update)
+ ;; Return the new setting.
,mode)
;; Autoloading an easy-mmode-define-minor-mode autoloads