babel: ensure `declare-function' is available in all Emacsen
Thanks to Daniel Mahler for finding this problem and proposing the fix * lisp/babel/ob.el (unless): ensure `declare-function' is available in all Emacsen
This commit is contained in:
parent
2653b62c47
commit
05b7ea5035
|
@ -30,7 +30,9 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
(eval-when-compile (require 'cl))
|
(eval-when-compile (require 'cl))
|
||||||
(require 'outline)
|
(eval-and-compile
|
||||||
|
(unless (fboundp 'declare-function)
|
||||||
|
(defmacro declare-function (fn file &optional arglist fileonly))))
|
||||||
|
|
||||||
(defvar org-babel-call-process-region-original)
|
(defvar org-babel-call-process-region-original)
|
||||||
(declare-function show-all "outline" ())
|
(declare-function show-all "outline" ())
|
||||||
|
|
Loading…
Reference in New Issue