1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-31 11:13:50 +00:00

dired-aux fix for bug#8131.

* lisp/dired-aux.el (dired-update-file-line): Fix 2010-11-09 change.
This commit is contained in:
Stephen Berman 2011-02-27 17:31:20 -08:00 committed by Glenn Morris
parent 3e478a7cef
commit edb574802f
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2011-02-28 Stephen Berman <stephen.berman@gmx.net>
* dired-aux.el (dired-update-file-line):
Fix 2010-11-09 change. (Bug#8131)
2011-02-28 Eli Zaretskii <eliz@gnu.org>
* international/mule-cmds.el (set-default-coding-systems): Use the

View File

@ -1025,9 +1025,9 @@ See Info node `(emacs)Subdir switches' for more details."
;; Keeps any marks that may be present in column one (doing this
;; here is faster than with dired-add-entry's optional arg).
;; Does not update other dired buffers. Use dired-relist-entry for that.
(let ((char (following-char))
(opoint (line-beginning-position))
(buffer-read-only))
(let* ((opoint (line-beginning-position))
(char (char-after opoint))
(buffer-read-only))
(delete-region opoint (progn (forward-line 1) (point)))
(if file
(progn