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.
This commit is contained in:
parent
00c62aa65f
commit
3d60c1a1d8
|
@ -753,7 +753,7 @@ the current subtree."
|
||||||
(setf (nth 2 info)
|
(setf (nth 2 info)
|
||||||
(sort (copy-sequence (nth 2 info))
|
(sort (copy-sequence (nth 2 info))
|
||||||
(lambda (a b) (string< (car a) (car b)))))
|
(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"
|
(sha1 (format "%s-%s"
|
||||||
(mapconcat
|
(mapconcat
|
||||||
#'identity
|
#'identity
|
||||||
|
|
Loading…
Reference in New Issue