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
be417b22
Commit
be417b22
authored
Sep 03, 1997
by
Richard M. Stallman
Browse files
(dired-get-filename): Don't call encode-coding-string if FILE is nil.
parent
ab685b6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/dired.el
lisp/dired.el
+2
-2
No files found.
lisp/dired.el
View file @
be417b22
...
...
@@ -1299,8 +1299,8 @@ Optional arg NO-ERROR-IF-NOT-FILEP means return nil if no filename on
"\\([^\\]\\|\\`\\)\""
file
"\\1\\\\\""
nil
t
)
file
)
"\""
)))))
(
if
buffer-file-coding-system
(
setq
file
(
encode-coding-string
file
buffer-file-coding-system
)))
(
and
file
buffer-file-coding-system
(
setq
file
(
encode-coding-string
file
buffer-file-coding-system
)))
(
if
(
eq
localp
'no-dir
)
file
(
and
file
(
concat
(
dired-current-directory
localp
)
file
)))))
...
...
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