summaryrefslogtreecommitdiff
path: root/lisp/progmodes/executable.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/executable.el')
-rw-r--r--lisp/progmodes/executable.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el
index 0c0905fcd2b..8011722f05b 100644
--- a/lisp/progmodes/executable.el
+++ b/lisp/progmodes/executable.el
@@ -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)))