Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
55e86af6
Commit
55e86af6
authored
Nov 23, 1993
by
Richard M. Stallman
Browse files
(dired-goto-file): Don't try matching one line twice.
parent
916a3119
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lisp/dired.el
lisp/dired.el
+4
-1
No files found.
lisp/dired.el
View file @
55e86af6
...
...
@@ -1418,7 +1418,10 @@ Returns the new value of the alist."
;; correct) match could have been elsewhere on the
;; ;; line (e.g. "-" would match somewhere in the
;; permission bits).
(
setq
found
(
dired-move-to-filename
)))))))
(
setq
found
(
dired-move-to-filename
))
;; If this isn't the right line, move forward to avoid
;; trying this line again.
(
forward-line
1
))))))
(
and
found
;; return value of point (i.e., FOUND):
(
goto-char
found
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment