Commit 3fbe4759 authored by Karl Heuer's avatar Karl Heuer
Browse files

(executable-set-magic): Don't put a space at end

if user says no.
parent c14c7a05
......@@ -211,11 +211,7 @@ executable."
(progn
(replace-match argument t t nil 1)
(message "Magic number changed to `%s'"
(concat executable-prefix argument)))
;; Add a space at the end of the line
;; so we do not ask again about changing it.
(end-of-line)
(insert " ")))
(concat executable-prefix argument)))))
(insert executable-prefix argument ?\n)
(message "Magic number changed to `%s'"
(concat executable-prefix argument)))
......
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