]> git.eshelyaron.com Git - emacs.git/commitdiff
(executable-set-magic): Don't put a space at end
authorKarl Heuer <kwzh@gnu.org>
Mon, 15 Jul 1996 20:18:18 +0000 (20:18 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 15 Jul 1996 20:18:18 +0000 (20:18 +0000)
if user says no.

lisp/progmodes/executable.el

index 0c0905fcd2bdd87f30895d79613cd1e3bb27a037..8011722f05b7ea5f8b79fb6895b4d339bbc7cb98 100644 (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)))