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
536ae2dd
Commit
536ae2dd
authored
Jun 08, 1993
by
Richard M. Stallman
Browse files
(dired-flag-auto-save-files): Ignore `*' added by ls -F.
parent
5f8a398a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
11 deletions
+20
-11
lisp/dired.el
lisp/dired.el
+20
-11
No files found.
lisp/dired.el
View file @
536ae2dd
...
...
@@ -1719,7 +1719,16 @@ A prefix argument says to unflag those files instead."
;; It is less than general to check for ~ here,
;; but it's the only way this runs fast enough.
(
and
(
save-excursion
(
end-of-line
)
(
eq
(
preceding-char
)
?#
))
(
or
(
eq
(
preceding-char
)
?#
)
;; Handle executables in case of -F option.
;; We need not worry about the other kinds
;; of markings that -F makes, since they won't
;; appear on real auto-save files.
(
if
(
eq
(
preceding-char
)
?*
)
(
progn
(
forward-char
-1
)
(
eq
(
preceding-char
)
?#
)))))
(
not
(
looking-at
dired-re-dir
))
(
let
((
fn
(
dired-get-filename
t
t
)))
(
if
fn
(
auto-save-file-name-p
...
...
@@ -1735,16 +1744,16 @@ With prefix argument, unflag these files."
;; It is less than general to check for ~ here,
;; but it's the only way this runs fast enough.
(
and
(
save-excursion
(
end-of-line
)
(
or
(
eq
(
preceding-char
)
?~
)
;; Handle executables in case of -F option.
;; We need not worry about the other kinds
;; of markings that -F makes, since they won't
;; appear on real backup files.
(
if
(
eq
(
preceding-char
)
?*
)
(
progn
(
forward-char
-1
)
(
eq
(
preceding-char
)
?~
)))))
(
or
(
eq
(
preceding-char
)
?~
)
;; Handle executables in case of -F option.
;; We need not worry about the other kinds
;; of markings that -F makes, since they won't
;; appear on real backup files.
(
if
(
eq
(
preceding-char
)
?*
)
(
progn
(
forward-char
-1
)
(
eq
(
preceding-char
)
?~
)))))
(
not
(
looking-at
dired-re-dir
))
(
let
((
fn
(
dired-get-filename
t
t
)))
(
if
fn
(
backup-file-name-p
fn
))))
...
...
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