mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
(delete-selection-mode): Use force-mode-line-update.
This commit is contained in:
parent
048ea441e2
commit
2fc86734b7
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user