diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-04-25 22:20:59 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-04-25 22:20:59 +0000 |
commit | e6f1da195629009d6893bb072739707e4d50f3d6 (patch) | |
tree | 60810b78208e5d754ed2fa32ac6c5698af0b4188 /lisp | |
parent | 1faea684f8f32fd81ff026bb450b706f8313304a (diff) | |
download | emacs-e6f1da195629009d6893bb072739707e4d50f3d6.tar.gz |
(double-mode): Use force-mode-line-update.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/double.el | 8 |
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) |