mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-23 10:34:07 +00:00
(dired-move-to-filename): Don't output a message if
raise-error is non-nil. Fix return position and value.
This commit is contained in:
parent
52e281e87a
commit
1f3b4d04d0
@ -1,5 +1,8 @@
|
||||
2004-09-25 Stefan <monnier@iro.umontreal.ca>
|
||||
|
||||
* dired.el (dired-move-to-filename): Don't output a message if
|
||||
raise-error is non-nil. Fix return position and value.
|
||||
|
||||
* files.el (insert-directory): Obey --dired even with symlinks.
|
||||
|
||||
2004-09-25 Lars Hansen <larsh@math.ku.dk>
|
||||
|
@ -1774,8 +1774,10 @@ regardless of the language.")
|
||||
(goto-char (match-end 0)))
|
||||
((re-search-forward dired-permission-flags-regexp eol t)
|
||||
;; Ha! There *is* a file. Our regexp-from-hell just failed to find it.
|
||||
(funcall (if raise-error 'error 'message)
|
||||
"Unrecognized line! Check dired-move-to-filename-regexp"))
|
||||
(if raise-error
|
||||
(error "Unrecognized line! Check dired-move-to-filename-regexp"))
|
||||
(beginning-of-line)
|
||||
nil)
|
||||
(raise-error
|
||||
(error "No file on this line")))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user