diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2011-10-13 14:35:09 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2011-10-13 14:35:09 +0000 |
commit | e2108a7b3edac754138368a0fc51b0160129253b (patch) | |
tree | 2199f3e6ac8e6e15ad276b45aeb9766cde7483dd /lib | |
parent | 911f7d4a22a1a91ee04d66a0efe74a0bd9dd1830 (diff) |
Patch from Tom Prince to fix Emacs 24 byte compilation (replace interactive-p with called-interactively-p)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/scomint.el | 2 |
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))))) |