diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-04-25 22:32:36 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-04-25 22:32:36 +0000 |
commit | 2fc86734b718a834630ffbfbad4157b7cd42f71c (patch) | |
tree | 1d9eba3ff5617e2897ee8fc4fcb339bf6321e097 /lisp/delsel.el | |
parent | 048ea441e2e43d9bad6fce4c890e93310ca3c998 (diff) |
(delete-selection-mode): Use force-mode-line-update.
Diffstat (limited to 'lisp/delsel.el')
-rw-r--r-- | lisp/delsel.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/delsel.el b/lisp/delsel.el index 2294df5ac6..4d52ab2f7b 100644 --- a/lisp/delsel.el +++ b/lisp/delsel.el @@ -84,7 +84,7 @@ When OFF, typed text is just inserted at point." (setq delete-selection-mode (if (null arg) (not delete-selection-mode) (> (prefix-numeric-value arg) 0))) - (set-buffer-modified-p (buffer-modified-p))) ;No-op, but updates mode line. + (force-mode-line-update)) ;; This is very useful for cancelling a selection in the minibuffer without ;; aborting the minibuffer. |