Commit 51de78c1 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(hack-local-variables): If buffer has no file, display its buffer name.

parent 49e4a58a
......@@ -972,7 +972,11 @@ If `enable-local-variables' is nil, this function does not check for a
(set-window-start (selected-window) (point)))
(y-or-n-p (format "Set local variables as specified at end of %s? "
(file-name-nondirectory buffer-file-name))))))))
(if buffer-file-name
(concat "buffer "
(let ((continue t)
prefix prefixlen suffix beg
(enable-local-eval enable-local-eval))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment