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
6a8f71e7
Commit
6a8f71e7
authored
Feb 25, 1994
by
Karl Heuer
Browse files
(set-visited-file-name): Unlock the file if setting the visited file name to
nil.
parent
f450965c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lisp/files.el
lisp/files.el
+1
-2
No files found.
lisp/files.el
View file @
6a8f71e7
...
...
@@ -1151,9 +1151,8 @@ if you wish to pass an empty string as the argument."
nil
(
expand-file-name
filename
))))
(
or
(
equal
filename
buffer-file-name
)
(
null
filename
)
(
progn
(
lock-buffer
filename
)
(
and
filename
(
lock-buffer
filename
)
)
(
unlock-buffer
)))
(
setq
buffer-file-name
filename
)
(
if
filename
; make buffer name reflect filename.
...
...
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