aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-04-25 22:31:12 +0000
committerKarl Heuer1995-04-25 22:31:12 +0000
commitca341104aec48ca95949e25a5f477463008cc66c (patch)
treea15652c45e34cb9b475844f5a86d461608991ab2
parent74def44fd90a0a45cbe8067d5c8a72ab257362e9 (diff)
downloademacs-ca341104aec48ca95949e25a5f477463008cc66c.tar.gz
emacs-ca341104aec48ca95949e25a5f477463008cc66c.zip
(edt-advance, edt-backup): Use force-mode-line-update.
-rw-r--r--lisp/emulation/edt.el13
1 files changed, 2 insertions, 11 deletions
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el
index 1178bd2ea1c..c482506739f 100644
--- a/lisp/emulation/edt.el
+++ b/lisp/emulation/edt.el
@@ -656,7 +656,7 @@ Accepts a positive prefix argument for the number of characters to delete."
656Also, execute command specified if in Minibuffer." 656Also, execute command specified if in Minibuffer."
657 (interactive) 657 (interactive)
658 (setq edt-direction-string edt-forward-string) 658 (setq edt-direction-string edt-forward-string)
659 (edt-update-mode-line) 659 (force-mode-line-update)
660 (if (string-equal " *Minibuf" 660 (if (string-equal " *Minibuf"
661 (substring (buffer-name) 0 (min (length (buffer-name)) 9))) 661 (substring (buffer-name) 0 (min (length (buffer-name)) 9)))
662 (exit-minibuffer))) 662 (exit-minibuffer)))
@@ -670,7 +670,7 @@ Also, execute command specified if in Minibuffer."
670Also, execute command specified if in Minibuffer." 670Also, execute command specified if in Minibuffer."
671 (interactive) 671 (interactive)
672 (setq edt-direction-string edt-backward-string) 672 (setq edt-direction-string edt-backward-string)
673 (edt-update-mode-line) 673 (force-mode-line-update)
674 (if (string-equal " *Minibuf" 674 (if (string-equal " *Minibuf"
675 (substring (buffer-name) 0 (min (length (buffer-name)) 9))) 675 (substring (buffer-name) 0 (min (length (buffer-name)) 9)))
676 (exit-minibuffer))) 676 (exit-minibuffer)))
@@ -1253,15 +1253,6 @@ Accepts a positive prefix argument for the number times to duplicate the line."
1253 (other-window 1)) 1253 (other-window 1))
1254 1254
1255;;; 1255;;;
1256;;; UPDATE MODE LINE
1257;;;
1258
1259(defun edt-update-mode-line ()
1260 "Make sure mode-line in the current buffer reflects all changes."
1261 (set-buffer-modified-p (buffer-modified-p))
1262 (sit-for 0))
1263
1264;;;
1265;;; COPY RECTANGLE 1256;;; COPY RECTANGLE
1266;;; 1257;;;
1267 1258