diff options
Diffstat (limited to 'lisp/progmodes/executable.el')
| -rw-r--r-- | lisp/progmodes/executable.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el index b003b75b0e4..aa3a74d30fa 100644 --- a/lisp/progmodes/executable.el +++ b/lisp/progmodes/executable.el | |||
| @@ -180,7 +180,7 @@ command to find the next error. The buffer is also in `comint-mode' and | |||
| 180 | `compilation-shell-minor-mode', so that you can answer any prompts." | 180 | `compilation-shell-minor-mode', so that you can answer any prompts." |
| 181 | (interactive (list (read-string "Run script: " | 181 | (interactive (list (read-string "Run script: " |
| 182 | (or executable-command | 182 | (or executable-command |
| 183 | buffer-file-name)))) | 183 | (file-local-name buffer-file-name))))) |
| 184 | (require 'compile) | 184 | (require 'compile) |
| 185 | (save-some-buffers (not compilation-ask-about-save)) | 185 | (save-some-buffers (not compilation-ask-about-save)) |
| 186 | (setq-local executable-command command) | 186 | (setq-local executable-command command) |