Mercurial > emacs
changeset 29425:846240c6fd38
* autoarg.el (autoarg-mode, autoarg-kp-mode):
* hl-line.el (hl-line-mode): Use the new :global key argument.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 05 Jun 2000 08:10:59 +0000 |
parents | 5fe4cd1c83ba |
children | 454b4967e36d |
files | lisp/autoarg.el lisp/hl-line.el |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/autoarg.el Mon Jun 05 07:44:59 2000 +0000 +++ b/lisp/autoarg.el Mon Jun 05 08:10:59 2000 +0000 @@ -110,7 +110,7 @@ `C-u \\[autoarg-terminate]' invokes the normal binding of \\[autoarg-terminate] four times. \\{autoarg-mode-map}" - (global . nil) " Aarg" autoarg-mode-map) + nil " Aarg" autoarg-mode-map :global t) ;;;###autoload (define-minor-mode autoarg-kp-mode @@ -121,7 +121,7 @@ &c to supply digit arguments. \\{autoarg-kp-mode-map}" - (global . nil) " Aakp" autoarg-kp-mode-map + nil " Aakp" autoarg-kp-mode-map :global t (if autoarg-kp-mode (dotimes (i 10) (let ((sym (intern (format "kp-%d" i))))
--- a/lisp/hl-line.el Mon Jun 05 07:44:59 2000 +0000 +++ b/lisp/hl-line.el Mon Jun 05 08:10:59 2000 +0000 @@ -81,7 +81,7 @@ With ARG, turn Hl-Line mode on if ARG is positive, off otherwise. Uses functions `hl-line-unhighlight' and `hl-line-highlight' on `pre-command-hook' and `post-command-hook'." - (global . nil) nil nil + nil nil nil :global t (if hl-line-mode (progn