summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-07-15 20:18:18 +0000
committerKarl Heuer <kwzh@gnu.org>1996-07-15 20:18:18 +0000
commit0f7112de5bb371c9b4a75963b6cea71a53840240 (patch)
treefefcad24e494a9e51eb86b0fcc41b676dc6aada3 /lisp
parent1f84f78b3130b7dce859f060f5669d3db3ff0994 (diff)
downloademacs-0f7112de5bb371c9b4a75963b6cea71a53840240.tar.gz
(executable-set-magic): Don't put a space at end
if user says no.
Diffstat (limited to 'lisp')
-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)))