1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

(delete-selection-mode): Use force-mode-line-update.

This commit is contained in:
Karl Heuer 1995-04-25 22:32:36 +00:00
parent 048ea441e2
commit 2fc86734b7

View File

@ -84,7 +84,7 @@ When OFF, typed text is just inserted at point."
(setq delete-selection-mode (setq delete-selection-mode
(if (null arg) (not delete-selection-mode) (if (null arg) (not delete-selection-mode)
(> (prefix-numeric-value arg) 0))) (> (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 ;; This is very useful for cancelling a selection in the minibuffer without
;; aborting the minibuffer. ;; aborting the minibuffer.