summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-04-25 22:20:59 +0000
committerKarl Heuer <kwzh@gnu.org>1995-04-25 22:20:59 +0000
commite6f1da195629009d6893bb072739707e4d50f3d6 (patch)
tree60810b78208e5d754ed2fa32ac6c5698af0b4188 /lisp
parent1faea684f8f32fd81ff026bb450b706f8313304a (diff)
downloademacs-e6f1da195629009d6893bb072739707e4d50f3d6.tar.gz
(double-mode): Use force-mode-line-update.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/double.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/double.el b/lisp/double.el
index c64ab007f54..810babd28c9 100644
--- a/lisp/double.el
+++ b/lisp/double.el
@@ -174,8 +174,8 @@ first loaded.")
"Toggle Double mode.
With prefix arg, turn Double mode on iff arg is positive.
-When Double mode is on, some keys will insert will insert different
-strings when pressed twice. See variable `double-map' for details."
+When Double mode is on, some keys will insert different strings
+when pressed twice. See variable `double-map' for details."
(interactive "P")
(if (or (and (null arg) double-mode)
(<= (prefix-numeric-value arg) 0))
@@ -185,13 +185,13 @@ strings when pressed twice. See variable `double-map' for details."
(let ((double-map))
(double-setup))
(setq double-mode nil)
- (set-buffer-modified-p (buffer-modified-p))))
+ (force-mode-line-update)))
;;Turn it on
(if double-mode
()
(double-setup)
(setq double-mode t)
- (set-buffer-modified-p (buffer-modified-p)))))
+ (force-mode-line-update))))
(provide 'double)