(delete-selection-mode): Use force-mode-line-update.
This commit is contained in:
parent
048ea441e2
commit
2fc86734b7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue