diff lisp/delsel.el @ 11589:ba22258c5916

(delete-selection-mode): Use force-mode-line-update.
author Karl Heuer <kwzh@gnu.org>
date Tue, 25 Apr 1995 22:32:36 +0000
parents b589ba0d8960
children afe7f3c735a3
line wrap: on
line diff
--- a/lisp/delsel.el	Tue Apr 25 22:32:18 1995 +0000
+++ b/lisp/delsel.el	Tue Apr 25 22:32:36 1995 +0000
@@ -84,7 +84,7 @@
   (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.