From 8c98879d7c356d7fdd1ab6e214b8b1f16324669c Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Sat, 23 Nov 2013 17:00:24 -0700 Subject: [PATCH] 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. --- lisp/ob-C.el | 2 +- lisp/ob-core.el | 1 + lisp/ob-fortran.el | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ob-C.el b/lisp/ob-C.el index b5fb1bd3d..35e8c621f 100644 --- a/lisp/ob-C.el +++ b/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")) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 0bf7ae8a0..d5fa78f25 100644 --- a/lisp/ob-core.el +++ b/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" diff --git a/lisp/ob-fortran.el b/lisp/ob-fortran.el index 007debbde..8a6458b6a 100644 --- a/lisp/ob-fortran.el +++ b/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")) -- 2.11.4.GIT