aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/scomint.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scomint.el b/lib/scomint.el
index 2859e499..af8df997 100644
--- a/lib/scomint.el
+++ b/lib/scomint.el
@@ -251,7 +251,7 @@ NO-NEWLINE is non-nil."
(save-excursion
(condition-case nil
(goto-char
- (if (interactive-p) scomint-last-input-end scomint-last-output-start))
+ (if (called-interactively-p 'any) scomint-last-input-end scomint-last-output-start))
(error nil))
(while (re-search-forward "\r+$" pmark t)
(replace-match "" t t)))))