aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2004-08-22 17:04:22 +0000
committerRichard M. Stallman <[email protected]>2004-08-22 17:04:22 +0000
commit35bf5a4e0728a9d17e9ec6adb809bb1abbd9d657 (patch)
tree7e102aeb043c5938656058ad19aa1b762c984fe2 /lisp
parent0ed9d54f71d440f4248c83d34ca5b9944f81749c (diff)
(global-whitespace-mode): New alias for whitespace-global-mode.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/whitespace.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index e330febf93..40a234f02d 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -820,6 +820,9 @@ If timer is not set, then set it to scan the files in
(setq whitespace-rescan-timer nil))))
;;;###autoload
+(defalias 'global-whitespace-mode 'whitespace-global-mode)
+
+;;;###autoload
(define-minor-mode whitespace-global-mode
"Toggle using Whitespace mode in new buffers.
With ARG, turn the mode on iff ARG is positive.