aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/executable.el
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1996-07-15 20:18:18 +0000
committerKarl Heuer <[email protected]>1996-07-15 20:18:18 +0000
commit3fbe47598e5da4e8b0ce230bd546b7286de9829c (patch)
tree3bcadefdbf038a1bab5418f3229471d917a20dce /lisp/progmodes/executable.el
parentc14c7a05113ebc6ae6da859c680becf8cdd7b754 (diff)
(executable-set-magic): Don't put a space at end
if user says no.
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 0c0905fcd2..8011722f05 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)))