mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Prevent infinite loop on entering wdired-mode
* lisp/wdired.el (wdired-preprocess-symlinks): Remove unneeded use of beginning-of-line, which also triggers an infinite loop in a find-dired buffer that doesn't end with a newline (see discussion in bug#35609).
This commit is contained in:
parent
cdec5a17fd
commit
288e83ae00
1 changed files with 1 additions and 2 deletions
|
|
@ -677,8 +677,7 @@ says how many lines to move; default is one line."
|
|||
'rear-nonsticky '(read-only))
|
||||
(put-text-property (match-beginning 1)
|
||||
(match-end 1) 'read-only nil)))
|
||||
(forward-line)
|
||||
(beginning-of-line)))))
|
||||
(forward-line)))))
|
||||
|
||||
|
||||
(defun wdired-get-previous-link (&optional old move)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue