Browse Source

Maintenance: Fix declarations and necessary require statements.

Carsten Dominik 16 năm trước cách đây
mục cha
commit
4260aad09d
3 tập tin đã thay đổi với 9 bổ sung1 xóa
  1. 6 0
      lisp/ChangeLog
  2. 1 1
      lisp/org-table.el
  3. 2 0
      lisp/org.el

+ 6 - 0
lisp/ChangeLog

@@ -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.
 

+ 1 - 1
lisp/org-table.el

@@ -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

+ 2 - 0
lisp/org.el

@@ -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