diff options
| author | Karl Heuer | 1996-07-15 20:18:18 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-07-15 20:18:18 +0000 |
| commit | 3fbe47598e5da4e8b0ce230bd546b7286de9829c (patch) | |
| tree | 3bcadefdbf038a1bab5418f3229471d917a20dce /lisp/progmodes/executable.el | |
| parent | c14c7a05113ebc6ae6da859c680becf8cdd7b754 (diff) | |
| download | emacs-3fbe47598e5da4e8b0ce230bd546b7286de9829c.tar.gz emacs-3fbe47598e5da4e8b0ce230bd546b7286de9829c.zip | |
(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.el | 6 |
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." | |||
| 211 | (progn | 211 | (progn |
| 212 | (replace-match argument t t nil 1) | 212 | (replace-match argument t t nil 1) |
| 213 | (message "Magic number changed to `%s'" | 213 | (message "Magic number changed to `%s'" |
| 214 | (concat executable-prefix argument))) | 214 | (concat executable-prefix argument))))) |
| 215 | ;; Add a space at the end of the line | ||
| 216 | ;; so we do not ask again about changing it. | ||
| 217 | (end-of-line) | ||
| 218 | (insert " "))) | ||
| 219 | (insert executable-prefix argument ?\n) | 215 | (insert executable-prefix argument ?\n) |
| 220 | (message "Magic number changed to `%s'" | 216 | (message "Magic number changed to `%s'" |
| 221 | (concat executable-prefix argument))) | 217 | (concat executable-prefix argument))) |