changeset 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 3ddbf9b31cf0
children 97a90e900ce7
files lisp/delsel.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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.