aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/org
diff options
context:
space:
mode:
authorGlenn Morris2010-08-17 00:29:26 -0700
committerGlenn Morris2010-08-17 00:29:26 -0700
commitf1eee0b6849bc5edf60a3c30cc8f71d70e3df837 (patch)
tree66eff5aa26ad25c01a4a92e4be49e68253393cfa /lisp/org
parent10506f644ac5937c9e7aa667f7da99061bb17889 (diff)
downloademacs-f1eee0b6849bc5edf60a3c30cc8f71d70e3df837.tar.gz
emacs-f1eee0b6849bc5edf60a3c30cc8f71d70e3df837.zip
Fix some Org errors revealed by `make check-declare'.
* ob.el (tramp-compat-make-temp-file, org-edit-src-code) (org-entry-get, org-table-import): Fix declarations. (org-match-string-no-properties): Remove declaration. * ob-sh.el (org-babel-comint-in-buffer) (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep) (org-babel-comint-with-output): Remove unnecessary declarations. * ob-R.el (orgtbl-to-tsv): Fix declaration. * org-list.el (org-entry-get): Fix declaration.
Diffstat (limited to 'lisp/org')
-rw-r--r--lisp/org/ChangeLog11
-rw-r--r--lisp/org/ob-R.el2
-rw-r--r--lisp/org/ob-sh.el4
-rw-r--r--lisp/org/ob.el13
-rw-r--r--lisp/org/org-list.el3
5 files changed, 21 insertions, 12 deletions
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog
index 9fb48e00ed7..9ebd951608e 100644
--- a/lisp/org/ChangeLog
+++ b/lisp/org/ChangeLog
@@ -1,3 +1,14 @@
12010-08-17 Glenn Morris <rgm@gnu.org>
2
3 * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
4 (org-entry-get, org-table-import): Fix declarations.
5 (org-match-string-no-properties): Remove unnecessary declaration.
6 * ob-sh.el (org-babel-comint-in-buffer)
7 (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
8 (org-babel-comint-with-output): Remove unnecessary declarations.
9 * ob-R.el (orgtbl-to-tsv): Fix declaration.
10 * org-list.el (org-entry-get): Fix declaration.
11
12010-07-19 Eric Schulte <schulte.eric@gmail.com> 122010-07-19 Eric Schulte <schulte.eric@gmail.com>
2 13
3 * ob-C.el: New file. 14 * ob-C.el: New file.
diff --git a/lisp/org/ob-R.el b/lisp/org/ob-R.el
index 105862c1571..d990d69b357 100644
--- a/lisp/org/ob-R.el
+++ b/lisp/org/ob-R.el
@@ -33,7 +33,7 @@
33(require 'ob-eval) 33(require 'ob-eval)
34(eval-when-compile (require 'cl)) 34(eval-when-compile (require 'cl))
35 35
36(declare-function orgtbl-to-tsv "ob-table" (table params)) 36(declare-function orgtbl-to-tsv "org-table" (table params))
37(declare-function R "ext:essd-r" (&optional start-args)) 37(declare-function R "ext:essd-r" (&optional start-args))
38(declare-function inferior-ess-send-input "ext:ess-inf" ()) 38(declare-function inferior-ess-send-input "ext:ess-inf" ())
39 39
diff --git a/lisp/org/ob-sh.el b/lisp/org/ob-sh.el
index 69fbefc82c4..072bc91af1c 100644
--- a/lisp/org/ob-sh.el
+++ b/lisp/org/ob-sh.el
@@ -34,10 +34,6 @@
34(eval-when-compile (require 'cl)) 34(eval-when-compile (require 'cl))
35 35
36(declare-function org-babel-ref-variables "ob-ref" (params)) 36(declare-function org-babel-ref-variables "ob-ref" (params))
37(declare-function org-babel-comint-in-buffer "ob-comint" (buffer &rest body))
38(declare-function org-babel-comint-wait-for-output "ob-comint" (buffer))
39(declare-function org-babel-comint-buffer-livep "ob-comint" (buffer))
40(declare-function org-babel-comint-with-output "ob-comint" (meta &rest body))
41(declare-function orgtbl-to-generic "org-table" (table params)) 37(declare-function orgtbl-to-generic "org-table" (table params))
42 38
43(defvar org-babel-default-header-args:sh '()) 39(defvar org-babel-default-header-args:sh '())
diff --git a/lisp/org/ob.el b/lisp/org/ob.el
index eeb60836b3f..4aee07f26ab 100644
--- a/lisp/org/ob.el
+++ b/lisp/org/ob.el
@@ -25,7 +25,7 @@
25;;; Commentary: 25;;; Commentary:
26 26
27;; See the online documentation for more information 27;; See the online documentation for more information
28;; 28;;
29;; http://orgmode.org/worg/org-contrib/babel/ 29;; http://orgmode.org/worg/org-contrib/babel/
30 30
31;;; Code: 31;;; Code:
@@ -34,24 +34,25 @@
34 34
35(defvar org-babel-call-process-region-original) 35(defvar org-babel-call-process-region-original)
36(declare-function show-all "outline" ()) 36(declare-function show-all "outline" ())
37(declare-function tramp-compat-make-temp-file "tramp" (filename &optional dir-flag)) 37(declare-function tramp-compat-make-temp-file "tramp-compat"
38 (filename &optional dir-flag))
38(declare-function tramp-dissect-file-name "tramp" (name &optional nodefault)) 39(declare-function tramp-dissect-file-name "tramp" (name &optional nodefault))
39(declare-function tramp-file-name-user "tramp" (vec)) 40(declare-function tramp-file-name-user "tramp" (vec))
40(declare-function tramp-file-name-host "tramp" (vec)) 41(declare-function tramp-file-name-host "tramp" (vec))
41(declare-function org-icompleting-read "org" (&rest args)) 42(declare-function org-icompleting-read "org" (&rest args))
42(declare-function org-edit-src-code "org" (context code edit-buffer-name)) 43(declare-function org-edit-src-code "org-src"
44 (&optional context code edit-buffer-name))
43(declare-function org-open-at-point "org" (&optional in-emacs reference-buffer)) 45(declare-function org-open-at-point "org" (&optional in-emacs reference-buffer))
44(declare-function org-save-outline-visibility "org" (use-markers &rest body)) 46(declare-function org-save-outline-visibility "org" (use-markers &rest body))
45(declare-function org-narrow-to-subtree "org" ()) 47(declare-function org-narrow-to-subtree "org" ())
46(declare-function org-entry-get "org" (pom property &optional inherit)) 48(declare-function org-entry-get "org" (pom property &optional inherit literal-nil))
47(declare-function org-make-options-regexp "org" (kwds &optional extra)) 49(declare-function org-make-options-regexp "org" (kwds &optional extra))
48(declare-function org-match-string-no-properties "org" (num &optional string))
49(declare-function org-do-remove-indentation "org" (&optional n)) 50(declare-function org-do-remove-indentation "org" (&optional n))
50(declare-function org-show-context "org" (&optional key)) 51(declare-function org-show-context "org" (&optional key))
51(declare-function org-at-table-p "org" (&optional table-type)) 52(declare-function org-at-table-p "org" (&optional table-type))
52(declare-function org-cycle "org" (&optional arg)) 53(declare-function org-cycle "org" (&optional arg))
53(declare-function org-uniquify "org" (list)) 54(declare-function org-uniquify "org" (list))
54(declare-function org-table-import "org" (file arg)) 55(declare-function org-table-import "org-table" (file arg))
55(declare-function org-add-hook "org-compat" (hook function &optional append local)) 56(declare-function org-add-hook "org-compat" (hook function &optional append local))
56(declare-function org-table-align "org-table" ()) 57(declare-function org-table-align "org-table" ())
57(declare-function org-table-end "org-table" (&optional table-type)) 58(declare-function org-table-end "org-table" (&optional table-type))
diff --git a/lisp/org/org-list.el b/lisp/org/org-list.el
index f1d6520fe51..19ba1a96395 100644
--- a/lisp/org/org-list.el
+++ b/lisp/org/org-list.el
@@ -51,7 +51,8 @@
51(declare-function org-get-indentation "org" (&optional line)) 51(declare-function org-get-indentation "org" (&optional line))
52(declare-function org-timer-item "org-timer" (&optional arg)) 52(declare-function org-timer-item "org-timer" (&optional arg))
53(declare-function org-combine-plists "org" (&rest plists)) 53(declare-function org-combine-plists "org" (&rest plists))
54(declare-function org-entry-get "org" (pom property &optional inherit)) 54(declare-function org-entry-get "org"
55 (pom property &optional inherit literal-nil))
55(declare-function org-narrow-to-subtree "org" ()) 56(declare-function org-narrow-to-subtree "org" ())
56(declare-function org-show-subtree "org" ()) 57(declare-function org-show-subtree "org" ())
57 58