/[emacs]/emacs/lisp/emacs-lisp/easy-mmode.el
ViewVC logotype

Diff of /emacs/lisp/emacs-lisp/easy-mmode.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.69 by teirllm, Sat Jul 16 02:25:48 2005 UTC revision 1.70 by teirllm, Fri Jul 22 01:26:03 2005 UTC
# Line 267  With zero or negative ARG turn mode off. Line 267  With zero or negative ARG turn mode off.
267         (add-minor-mode ',mode ',lighter         (add-minor-mode ',mode ',lighter
268                         ,(if keymap keymap-sym                         ,(if keymap keymap-sym
269                            `(if (boundp ',keymap-sym)                            `(if (boundp ',keymap-sym)
270                                 (symbol-value ',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))))))))  
271    
272  ;;;  ;;;
273  ;;; make global minor mode  ;;; make global minor mode

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26