[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: |
Luc Teirlinck |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/easy-mmode.el |
Date: |
Thu, 21 Jul 2005 21:26:03 -0400 |
Index: emacs/lisp/emacs-lisp/easy-mmode.el
diff -c emacs/lisp/emacs-lisp/easy-mmode.el:1.69
emacs/lisp/emacs-lisp/easy-mmode.el:1.70
*** emacs/lisp/emacs-lisp/easy-mmode.el:1.69 Sat Jul 16 02:25:48 2005
--- emacs/lisp/emacs-lisp/easy-mmode.el Fri Jul 22 01:26:03 2005
***************
*** 267,278 ****
(add-minor-mode ',mode ',lighter
,(if keymap keymap-sym
`(if (boundp ',keymap-sym)
! (symbol-value ',keymap-sym))))
!
! ;; If the mode is global, call the function according to the default.
! ,(if globalp
! `(if (and load-file-name (not (equal ,init-value ,mode)))
! (eval-after-load load-file-name '(,mode (if ,mode 1 -1))))))))
;;;
;;; make global minor mode
--- 267,273 ----
(add-minor-mode ',mode ',lighter
,(if keymap keymap-sym
`(if (boundp ',keymap-sym)
! (symbol-value ',keymap-sym)))))))
;;;
;;; make global minor mode