Commit 2fc86734 authored by Karl Heuer's avatar Karl Heuer
Browse files

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

parent 048ea441
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment