Ver Fonte

declare function to appease compiler

* lisp/ob-C.el (org-remove-indentation): Declare function to appease
  compiler.
* lisp/ob-core.el (org-remove-indentation): Declare function to
  appease compiler.
* lisp/ob-fortran.el (org-remove-indentation): Declare function to
  appease compiler.
Eric Schulte há 11 anos atrás
pai
commit
8c98879d7c
3 ficheiros alterados com 3 adições e 1 exclusões
  1. 1 1
      lisp/ob-C.el
  2. 1 0
      lisp/ob-core.el
  3. 1 0
      lisp/ob-fortran.el

+ 1 - 1
lisp/ob-C.el

@@ -37,7 +37,7 @@
 
 (declare-function org-entry-get "org"
 		  (pom property &optional inherit literal-nil))
-
+(declare-function org-remove-indentation "org" (code &optional n))
 
 (defvar org-babel-tangle-lang-exts)
 (add-to-list 'org-babel-tangle-lang-exts '("C++" . "cpp"))

+ 1 - 0
lisp/ob-core.el

@@ -38,6 +38,7 @@
 (defvar org-src-lang-modes)
 (defvar org-babel-library-of-babel)
 (declare-function show-all "outline" ())
+(declare-function org-remove-indentation "org" (code &optional n))
 (declare-function org-reduce "org" (CL-FUNC CL-SEQ &rest CL-KEYS))
 (declare-function org-mark-ring-push "org" (&optional pos buffer))
 (declare-function tramp-compat-make-temp-file "tramp-compat"

+ 1 - 0
lisp/ob-fortran.el

@@ -33,6 +33,7 @@
 (declare-function org-entry-get "org"
 		  (pom property &optional inherit literal-nil))
 (declare-function org-every "org" (pred seq))
+(declare-function org-remove-indentation "org" (code &optional n))
 
 (defvar org-babel-tangle-lang-exts)
 (add-to-list 'org-babel-tangle-lang-exts '("fortran" . "F90"))