Browse Source

Keep byte compiler happy

Carsten Dominik 16 years ago
parent
commit
503e571e43
7 changed files with 11 additions and 5 deletions
  1. 1 0
      lisp/org-docbook.el
  2. 1 1
      lisp/org-exp.el
  3. 1 0
      lisp/org-gnus.el
  4. 1 0
      lisp/org-html.el
  5. 2 0
      lisp/org-macs.el
  6. 3 1
      lisp/org-src.el
  7. 2 3
      lisp/org.el

+ 1 - 0
lisp/org-docbook.el

@@ -1149,6 +1149,7 @@ publishing directory."
 
 
 (defvar in-local-list)
 (defvar in-local-list)
 (defvar local-list-indent)
 (defvar local-list-indent)
+(defvar local-list-type)
 (defun org-export-docbook-close-lists-maybe (line)
 (defun org-export-docbook-close-lists-maybe (line)
   (let ((ind (get-text-property 0 'original-indentation line))
   (let ((ind (get-text-property 0 'original-indentation line))
 	didclose)
 	didclose)

+ 1 - 1
lisp/org-exp.el

@@ -1681,7 +1681,7 @@ from the buffer."
   "Mark block quote and verse environments with special cookies.
   "Mark block quote and verse environments with special cookies.
 These special cookies will later be interpreted by the backend."
 These special cookies will later be interpreted by the backend."
   ;; Blockquotes
   ;; Blockquotes
-  (let (type t1 ind beg end beg1 end1)
+  (let (type t1 ind beg end beg1 end1 content)
     (goto-char (point-min))
     (goto-char (point-min))
     (while (re-search-forward
     (while (re-search-forward
 	    "^\\([ \t]*\\)#\\+\\(begin_\\(\\(block\\)?quote\\|verse\\|center\\)\\>.*\\)"
 	    "^\\([ \t]*\\)#\\+\\(begin_\\(\\(block\\)?quote\\|verse\\|center\\)\\>.*\\)"

+ 1 - 0
lisp/org-gnus.el

@@ -53,6 +53,7 @@ negates this setting for the duration of the command."
 ;; Declare external functions and variables
 ;; Declare external functions and variables
 (declare-function gnus-article-show-summary "gnus-art" ())
 (declare-function gnus-article-show-summary "gnus-art" ())
 (declare-function gnus-summary-last-subject "gnus-sum" ())
 (declare-function gnus-summary-last-subject "gnus-sum" ())
+(declare-function message-fetch-field "message" (header &optional not-all))
 (defvar gnus-other-frame-object)
 (defvar gnus-other-frame-object)
 (defvar gnus-group-name)
 (defvar gnus-group-name)
 (defvar gnus-article-current)
 (defvar gnus-article-current)

+ 1 - 0
lisp/org-html.el

@@ -1870,6 +1870,7 @@ If there are links in the string, don't modify these."
 
 
 (defvar in-local-list)
 (defvar in-local-list)
 (defvar local-list-indent)
 (defvar local-list-indent)
+(defvar local-list-type)
 (defun org-export-html-close-lists-maybe (line)
 (defun org-export-html-close-lists-maybe (line)
   (let ((ind (get-text-property 0 'original-indentation line))
   (let ((ind (get-text-property 0 'original-indentation line))
 	didclose)
 	didclose)

+ 2 - 0
lisp/org-macs.el

@@ -33,6 +33,8 @@
 
 
 ;;; Code:
 ;;; Code:
 
 
+(declare-function org-add-props "org-compat" (string plist &rest props))
+
 (defmacro org-bound-and-true-p (var)
 (defmacro org-bound-and-true-p (var)
   "Return the value of symbol VAR if it is bound, else nil."
   "Return the value of symbol VAR if it is bound, else nil."
   `(and (boundp (quote ,var)) ,var))
   `(and (boundp (quote ,var)) ,var))

+ 3 - 1
lisp/org-src.el

@@ -34,6 +34,8 @@
 (require 'org-macs)
 (require 'org-macs)
 (require 'org-compat)
 (require 'org-compat)
 
 
+(declare-function org-do-remove-indentation "org" (&optional n))
+
 (defcustom org-edit-src-region-extra nil
 (defcustom org-edit-src-region-extra nil
   "Additional regexps to identify regions for editing with `org-edit-src-code'.
   "Additional regexps to identify regions for editing with `org-edit-src-code'.
 For examples see the function `org-edit-src-find-region-and-lang'.
 For examples see the function `org-edit-src-find-region-and-lang'.
@@ -315,7 +317,7 @@ the language, a switch telling of the content should be in a single line."
 	    ("^[ \t]*#\\+begin_docbook.*\n" "\n[ \t]*#\\+end_docbook" "xml")
 	    ("^[ \t]*#\\+begin_docbook.*\n" "\n[ \t]*#\\+end_docbook" "xml")
 	    )))
 	    )))
 	(pos (point))
 	(pos (point))
-	re1 re2 single beg end lang lfmt match-re1 ind)
+	re1 re2 single beg end lang lfmt match-re1 ind entry)
     (catch 'exit
     (catch 'exit
       (while (setq entry (pop re-list))
       (while (setq entry (pop re-list))
 	(setq re1 (car entry) re2 (nth 1 entry) lang (nth 2 entry)
 	(setq re1 (car entry) re2 (nth 1 entry) lang (nth 2 entry)

+ 2 - 3
lisp/org.el

@@ -3764,10 +3764,8 @@ This is for getting out of special buffers like remember.")
 ;; FIXME: Occasionally check by commenting these, to make sure
 ;; FIXME: Occasionally check by commenting these, to make sure
 ;;        no other functions uses these, forgetting to let-bind them.
 ;;        no other functions uses these, forgetting to let-bind them.
 (defvar entry)
 (defvar entry)
-(defvar state)
 (defvar last-state)
 (defvar last-state)
 (defvar date)
 (defvar date)
-(defvar description)
 
 
 ;; Defined somewhere in this file, but used before definition.
 ;; Defined somewhere in this file, but used before definition.
 (defvar org-html-entities)
 (defvar org-html-entities)
@@ -12664,7 +12662,8 @@ days in order to avoid rounding problems."
   "Convert a time stamp to an absolute day number.
   "Convert a time stamp to an absolute day number.
 If there is a specifyer for a cyclic time stamp, get the closest date to
 If there is a specifyer for a cyclic time stamp, get the closest date to
 DAYNR.
 DAYNR.
-PREFER and SHOW-ALL are passed through to `org-closest-date'."
+PREFER and SHOW-ALL are passed through to `org-closest-date'.
+the variable date is bound by the calendar when this is called."
   (cond
   (cond
    ((and daynr (string-match "\\`%%\\((.*)\\)" s))
    ((and daynr (string-match "\\`%%\\((.*)\\)" s))
     (if (org-diary-sexp-entry (match-string 1 s) "" date)
     (if (org-diary-sexp-entry (match-string 1 s) "" date)