summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2011-06-24 19:48:10 -0700
committerEric Schulte <schulte.eric@gmail.com>2011-06-24 19:48:10 -0700
commit3d60c1a1d8206f20a047dee9db04392f75c44f7c (patch)
tree7e04e7c63d89f9bf1939088f2fcfcd90e34f44e4
parent00c62aa65fae7367792b6bff8b91cf69f9477f24 (diff)
downloadorg-mode-3d60c1a1d8206f20a047dee9db04392f75c44f7c.tar.gz
ob: replace call to called-interactively-p with backwards-compatible interactive-p
* lisp/ob.el (org-babel-sha1-hash): Replace call to called-interactively-p with backwards-compatible interactive-p.
-rw-r--r--lisp/ob.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob.el b/lisp/ob.el
index f4ec4ce..6616f2e 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -753,7 +753,7 @@ the current subtree."
(setf (nth 2 info)
(sort (copy-sequence (nth 2 info))
(lambda (a b) (string< (car a) (car b)))))
- ((lambda (hash) (when (called-interactively-p 'interactive) (message hash)) hash)
+ ((lambda (hash) (when (interactive-p) (message hash)) hash)
(sha1 (format "%s-%s"
(mapconcat
#'identity