diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2010-08-27 14:42:24 -0600 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2010-08-27 14:45:55 -0600 |
commit | b183da4be6e4a8e5b1be8caa093b9098e5c9e8f5 (patch) | |
tree | c5b227542050c88b9c35198b76c7d8bcf7ddcf74 | |
parent | e3144785114d12981e0e3429c76b6f8f15c4b00f (diff) | |
download | org-mode-b183da4be6e4a8e5b1be8caa093b9098e5c9e8f5.tar.gz |
Babel: fixing compiler warnings
* lisp/ob-R.el (ess-make-buffer-current): declared
(ess-ask-for-ess-directory): declared
(ess-local-process-name): declared
* lisp/ob-latex.el (org-babel-latex-tex-to-pdf): capturing free
variable
* lisp/ob.el (org-edit-src-code): fixing arguments
(org-edit-src-exit): declared
(org-outline-overlay-data): declared
(org-set-outline-overlay-data): declared
-rw-r--r-- | lisp/ob-R.el | 3 | ||||
-rw-r--r-- | lisp/ob-latex.el | 2 | ||||
-rw-r--r-- | lisp/ob.el | 5 |
3 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ob-R.el b/lisp/ob-R.el index 3dda4f7..d16b659 100644 --- a/lisp/ob-R.el +++ b/lisp/ob-R.el @@ -36,6 +36,7 @@ (declare-function orgtbl-to-tsv "org-table" (table params)) (declare-function R "ext:essd-r" (&optional start-args)) (declare-function inferior-ess-send-input "ext:ess-inf" ()) +(declare-function ess-make-buffer-current "ext:ess-inf" ()) (defconst org-babel-header-arg-names:R '(width height bg units pointsize antialias quality compression @@ -151,6 +152,7 @@ This function is called by `org-babel-execute-src-block'." (if rownames-p "1" "NULL"))) (format "%s <- %s" name (org-babel-R-quote-tsv-field value)))) +(defvar ess-ask-for-ess-directory) (defun org-babel-R-initiate-session (session params) "If there is not a current R process then create one." (unless (string= session "none") @@ -169,6 +171,7 @@ This function is called by `org-babel-execute-src-block'." (buffer-name)))) (current-buffer)))))) +(defvar ess-local-process-name) (defun org-babel-R-associate-session (session) "Associate R code buffer with an R session. Make SESSION be the inferior ESS process associated with the diff --git a/lisp/ob-latex.el b/lisp/ob-latex.el index 773e3b6..dde3eae 100644 --- a/lisp/ob-latex.el +++ b/lisp/ob-latex.el @@ -127,7 +127,7 @@ Extracted from `org-export-as-pdf' in org-latex.el." (pdffile (concat base ".pdf")) (cmds org-latex-to-pdf-process) (outbuf (get-buffer-create "*Org PDF LaTeX Output*")) - cmd) + output-dir cmd) (with-current-buffer outbuf (erase-buffer)) (message (concat "Processing LaTeX file " file "...")) (setq output-dir (file-name-directory file)) @@ -43,9 +43,12 @@ (declare-function tramp-file-name-host "tramp" (vec)) (declare-function org-icompleting-read "org" (&rest args)) (declare-function org-edit-src-code "org-src" - (&optional context code edit-buffer-name)) + (&optional context code edit-buffer-name quietp)) +(declare-function org-edit-src-exit "org-src" (&optional context)) (declare-function org-open-at-point "org" (&optional in-emacs reference-buffer)) (declare-function org-save-outline-visibility "org" (use-markers &rest body)) +(declare-function org-outline-overlay-data "org" (&optional use-markers)) +(declare-function org-set-outline-overlay-data "org" (data)) (declare-function org-narrow-to-subtree "org" ()) (declare-function org-entry-get "org" (pom property &optional inherit literal-nil)) (declare-function org-make-options-regexp "org" (kwds &optional extra)) |