aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-04-25 22:32:36 +0000
committerKarl Heuer1995-04-25 22:32:36 +0000
commit2fc86734b718a834630ffbfbad4157b7cd42f71c (patch)
tree1d9eba3ff5617e2897ee8fc4fcb339bf6321e097
parent048ea441e2e43d9bad6fce4c890e93310ca3c998 (diff)
downloademacs-2fc86734b718a834630ffbfbad4157b7cd42f71c.tar.gz
emacs-2fc86734b718a834630ffbfbad4157b7cd42f71c.zip
(delete-selection-mode): Use force-mode-line-update.
-rw-r--r--lisp/delsel.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/delsel.el b/lisp/delsel.el
index 2294df5ac67..4d52ab2f7ba 100644
--- a/lisp/delsel.el
+++ b/lisp/delsel.el
@@ -84,7 +84,7 @@ When OFF, typed text is just inserted at point."
84 (setq delete-selection-mode 84 (setq delete-selection-mode
85 (if (null arg) (not delete-selection-mode) 85 (if (null arg) (not delete-selection-mode)
86 (> (prefix-numeric-value arg) 0))) 86 (> (prefix-numeric-value arg) 0)))
87 (set-buffer-modified-p (buffer-modified-p))) ;No-op, but updates mode line. 87 (force-mode-line-update))
88 88
89;; This is very useful for cancelling a selection in the minibuffer without 89;; This is very useful for cancelling a selection in the minibuffer without
90;; aborting the minibuffer. 90;; aborting the minibuffer.