Maintenance: Fix declarations and necessary require statements.

This commit is contained in:
Carsten Dominik 2009-01-25 13:07:23 +01:00
parent 2ad63638b5
commit 4260aad09d
3 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,11 @@
2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
* org.el (org-agenda-tags-todo-honor-ignore-options): Declare
variable.
* org-table.el (org-table-insert-hline): Fix typo in fuction call
to `backward-char'.
* org-exp.el (org-export-as-html): Remove the initial space from
colon examples.

View File

@ -1222,7 +1222,7 @@ With prefix ABOVE, insert above the current line."
(interactive "P")
(if (not (org-at-table-p))
(error "Not at a table"))
(when (eobp) (insert "\n") (backward-character 1))
(when (eobp) (insert "\n") (backward-char 1))
(if (not (string-match "|[ \t]*$" (org-current-line-string)))
(org-table-align))
(let ((line (org-table-clean-line

View File

@ -2486,6 +2486,7 @@ Normal means, no org-mode-specific context."
(declare-function iswitchb-read-buffer (prompt &optional default require-match start matches-set))
(defvar iswitchb-temp-buflist)
(declare-function org-gnus-follow-link "org-gnus" (&optional group article))
(defvar org-agenda-tags-todo-honor-ignore-options)
(declare-function org-agenda-skip "org-agenda" ())
(declare-function org-format-agenda-item "org-agenda"
(extra txt &optional category tags dotime noprefix remove-re))
@ -9269,6 +9270,7 @@ this case the return value is a list of all return values from these calls.
MATCHER is a Lisp form to be evaluated, testing if a given set of tags
qualifies a headline for inclusion. When TODO-ONLY is non-nil,
only lines with a TODO keyword are included in the output."
(require 'org-agenda)
(let* ((re (concat "[\n\r]" outline-regexp " *\\(\\<\\("
(mapconcat 'regexp-quote org-todo-keywords-1 "\\|")
(org-re