1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-22 14:01:47 -07:00

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

if user says no.
This commit is contained in:
Karl Heuer 1996-07-15 20:18:18 +00:00
parent c14c7a0511
commit 3fbe47598e

View file

@ -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)))