ob-core, ob-exp, ob-haskell, ob-python: declarations for org-src-preserve-indentations
* lisp/ob-core.el: Add comment to forward declaration of 'org-src-preserve-indentations'. * lisp/ob-exp.el: Require org-src to import 'org-src-preserve-indentations'. * lisp/ob-haskell.el, lisp/ob-python.el: Remove superfluous forward declaration of 'org-src-preserve-indentations', since it gets imported by other requires.
This commit is contained in:
parent
61b8091596
commit
790f5b4d3a
|
@ -1349,7 +1349,7 @@ specified in the properties of the current outline entry."
|
||||||
(org-entry-get org-babel-current-src-block-location
|
(org-entry-get org-babel-current-src-block-location
|
||||||
(concat "header-args:" lang) 'inherit))))))
|
(concat "header-args:" lang) 'inherit))))))
|
||||||
|
|
||||||
(defvar org-src-preserve-indentation)
|
(defvar org-src-preserve-indentation) ;; declare defcustom from org-src
|
||||||
(defun org-babel-parse-src-block-match ()
|
(defun org-babel-parse-src-block-match ()
|
||||||
"Parse the results from a match of the `org-babel-src-block-regexp'."
|
"Parse the results from a match of the `org-babel-src-block-regexp'."
|
||||||
(let* ((block-indentation (length (match-string 1)))
|
(let* ((block-indentation (length (match-string 1)))
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
(require 'ob-core)
|
(require 'ob-core)
|
||||||
|
(require 'org-src)
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(require 'cl))
|
(require 'cl))
|
||||||
|
|
||||||
|
|
|
@ -147,7 +147,6 @@ specifying a variable of the same value."
|
||||||
(concat "[" (mapconcat #'org-babel-haskell-var-to-haskell var ", ") "]")
|
(concat "[" (mapconcat #'org-babel-haskell-var-to-haskell var ", ") "]")
|
||||||
(format "%S" var)))
|
(format "%S" var)))
|
||||||
|
|
||||||
(defvar org-src-preserve-indentation)
|
|
||||||
(defvar org-export-copy-to-kill-ring)
|
(defvar org-export-copy-to-kill-ring)
|
||||||
(declare-function org-export-to-file "ox"
|
(declare-function org-export-to-file "ox"
|
||||||
(backend file
|
(backend file
|
||||||
|
|
|
@ -56,8 +56,6 @@ This will typically be either 'python or 'python-mode."
|
||||||
:package-version '(Org . "8.0")
|
:package-version '(Org . "8.0")
|
||||||
:type 'symbol)
|
:type 'symbol)
|
||||||
|
|
||||||
(defvar org-src-preserve-indentation)
|
|
||||||
|
|
||||||
(defcustom org-babel-python-hline-to "None"
|
(defcustom org-babel-python-hline-to "None"
|
||||||
"Replace hlines in incoming tables with this when translating to python."
|
"Replace hlines in incoming tables with this when translating to python."
|
||||||
:group 'org-babel
|
:group 'org-babel
|
||||||
|
|
Loading…
Reference in New Issue