]> git.eshelyaron.com Git - emacs.git/commitdiff
(edt-advance, edt-backup): Use force-mode-line-update.
authorKarl Heuer <kwzh@gnu.org>
Tue, 25 Apr 1995 22:31:12 +0000 (22:31 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 25 Apr 1995 22:31:12 +0000 (22:31 +0000)
lisp/emulation/edt.el

index 1178bd2ea1cc2230f23fc98d80481b310b8d934d..c482506739fcd69c3bae4252deeb88f5a48749b5 100644 (file)
@@ -656,7 +656,7 @@ Accepts a positive prefix argument for the number of characters to delete."
 Also, execute command specified if in Minibuffer."
   (interactive)
   (setq edt-direction-string edt-forward-string)
-  (edt-update-mode-line)
+  (force-mode-line-update)
   (if (string-equal " *Minibuf" 
                     (substring (buffer-name) 0 (min (length (buffer-name)) 9)))
       (exit-minibuffer)))
@@ -670,7 +670,7 @@ Also, execute command specified if in Minibuffer."
 Also, execute command specified if in Minibuffer."
   (interactive)
   (setq edt-direction-string edt-backward-string)
-  (edt-update-mode-line)
+  (force-mode-line-update)
   (if (string-equal " *Minibuf" 
                     (substring (buffer-name) 0 (min (length (buffer-name)) 9)))
       (exit-minibuffer)))
@@ -1252,15 +1252,6 @@ Accepts a positive prefix argument for the number times to duplicate the line."
   (split-window)
   (other-window 1))
 
-;;;
-;;; UPDATE MODE LINE
-;;;
-
-(defun edt-update-mode-line ()
-  "Make sure mode-line in the current buffer reflects all changes."
-  (set-buffer-modified-p (buffer-modified-p))
-  (sit-for 0))
-
 ;;;
 ;;; COPY RECTANGLE
 ;;;