Mercurial > emacs
comparison lisp/emacs-lisp/easy-mmode.el @ 90813:e6fdae9180d4
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 698-710)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 216)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-196
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 24 Apr 2007 21:56:25 +0000 |
parents | 52a7f3f50b89 d3f723361ea3 |
children | d7172f202ab8 |
comparison
equal
deleted
inserted
replaced
90812:6137cc8ddf90 | 90813:e6fdae9180d4 |
---|---|
325 `(progn | 325 `(progn |
326 (defvar ,MODE-major-mode nil) | 326 (defvar ,MODE-major-mode nil) |
327 (make-variable-buffer-local ',MODE-major-mode) | 327 (make-variable-buffer-local ',MODE-major-mode) |
328 ;; The actual global minor-mode | 328 ;; The actual global minor-mode |
329 (define-minor-mode ,global-mode | 329 (define-minor-mode ,global-mode |
330 ,(format "Toggle %s in every buffer. | 330 ,(format "Toggle %s in every possible buffer. |
331 With prefix ARG, turn %s on if and only if ARG is positive. | 331 With prefix ARG, turn %s on if and only if ARG is positive. |
332 %s is actually not turned on in every buffer but only in those | 332 %s is enabled in all buffers where `%s' would do it. |
333 in which `%s' turns it on." | 333 See `%s' for more information on %s." |
334 pretty-name pretty-global-name pretty-name turn-on) | 334 pretty-name pretty-global-name pretty-name turn-on |
335 mode pretty-name) | |
335 :global t ,@group ,@(nreverse extra-keywords) | 336 :global t ,@group ,@(nreverse extra-keywords) |
336 | 337 |
337 ;; Setup hook to handle future mode changes and new buffers. | 338 ;; Setup hook to handle future mode changes and new buffers. |
338 (if ,global-mode | 339 (if ,global-mode |
339 (progn | 340 (progn |