changeset 15678:7a25ca1a7d7d

(executable-set-magic): Don't put a space at end if user says no.
author Karl Heuer <kwzh@gnu.org>
date Mon, 15 Jul 1996 20:18:18 +0000
parents 4431e88ce8d2
children 4942f03c75f8
files lisp/progmodes/executable.el
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/executable.el	Mon Jul 15 20:17:53 1996 +0000
+++ b/lisp/progmodes/executable.el	Mon Jul 15 20:18:18 1996 +0000
@@ -211,11 +211,7 @@
 		       (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)))