aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/executable.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/executable.el')
-rw-r--r--lisp/progmodes/executable.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el
index 50e4da93c73..b057fa68471 100644
--- a/lisp/progmodes/executable.el
+++ b/lisp/progmodes/executable.el
@@ -240,8 +240,9 @@ executable."
240 (save-window-excursion 240 (save-window-excursion
241 ;; Make buffer visible before question. 241 ;; Make buffer visible before question.
242 (switch-to-buffer (current-buffer)) 242 (switch-to-buffer (current-buffer))
243 (y-or-n-p (concat "Replace magic number by `" 243 (y-or-n-p (format-message
244 executable-prefix argument "'? ")))) 244 "Replace magic number by `%s%s'? "
245 executable-prefix argument))))
245 (progn 246 (progn
246 (replace-match argument t t nil 1) 247 (replace-match argument t t nil 1)
247 (message "Magic number changed to `%s'" 248 (message "Magic number changed to `%s'"