diff options
author | Markus Rost <[email protected]> | 2002-09-15 16:35:23 +0000 |
---|---|---|
committer | Markus Rost <[email protected]> | 2002-09-15 16:35:23 +0000 |
commit | f618b7e55b8c88e58dfbd6b0bf9acfe6fcdd6515 (patch) | |
tree | 24d15ef64df0b59a052bac784ddb40d5a1191a9b /lisp/dired.el | |
parent | ef7fb3bb176551f8cca1a843bb441d41a8484eac (diff) |
(dired-move-to-filename): Fix previous change.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r-- | lisp/dired.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index f0306d32d7..43941bc17a 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1589,7 +1589,8 @@ regardless of the language.") ;; First try assuming `ls --dired' was used. (let ((change (next-single-property-change (point) 'dired-filename nil eol))) - (if change (goto-char change) + (if (and change (< change eol)) + (goto-char change) (if (re-search-forward dired-move-to-filename-regexp eol t) (goto-char (match-end 0)) (if raise-error |