aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/idlw-shell.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/idlw-shell.el')
-rw-r--r--lisp/progmodes/idlw-shell.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el
index f875915ca8e..99ac0877c8b 100644
--- a/lisp/progmodes/idlw-shell.el
+++ b/lisp/progmodes/idlw-shell.el
@@ -2640,7 +2640,7 @@ Assumes that `idlwave-shell-sources-alist' contains an entry for that module."
2640 (if (or (not source-file) 2640 (if (or (not source-file)
2641 (not (file-regular-p source-file)) 2641 (not (file-regular-p source-file))
2642 (not (setq buf 2642 (not (setq buf
2643 (or (idlwave-get-buffer-visiting source-file) 2643 (or (find-buffer-visiting source-file)
2644 (find-file-noselect source-file))))) 2644 (find-file-noselect source-file)))))
2645 (progn 2645 (progn
2646 (message "The source file for module %s is probably not compiled" 2646 (message "The source file for module %s is probably not compiled"
@@ -3241,8 +3241,7 @@ Does not work for a region with multiline blocks - use
3241 "Delete the temporary files and kill associated buffers." 3241 "Delete the temporary files and kill associated buffers."
3242 (if (stringp idlwave-shell-temp-pro-file) 3242 (if (stringp idlwave-shell-temp-pro-file)
3243 (condition-case nil 3243 (condition-case nil
3244 (let ((buf (idlwave-get-buffer-visiting 3244 (let ((buf (find-buffer-visiting idlwave-shell-temp-pro-file)))
3245 idlwave-shell-temp-pro-file)))
3246 (if (buffer-live-p buf) 3245 (if (buffer-live-p buf)
3247 (kill-buffer buf)) 3246 (kill-buffer buf))
3248 (delete-file idlwave-shell-temp-pro-file)) 3247 (delete-file idlwave-shell-temp-pro-file))
@@ -3788,7 +3787,7 @@ handled by this command."
3788 (save-buffer) 3787 (save-buffer)
3789 (setq idlwave-shell-last-save-and-action-file (buffer-file-name))) 3788 (setq idlwave-shell-last-save-and-action-file (buffer-file-name)))
3790 (idlwave-shell-last-save-and-action-file 3789 (idlwave-shell-last-save-and-action-file
3791 (if (setq buf (idlwave-get-buffer-visiting 3790 (if (setq buf (find-buffer-visiting
3792 idlwave-shell-last-save-and-action-file)) 3791 idlwave-shell-last-save-and-action-file))
3793 (with-current-buffer buf 3792 (with-current-buffer buf
3794 (save-buffer)))) 3793 (save-buffer))))