summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2008-07-04 04:09:00 +0200
committerBastien Guerry <bzg@altern.org>2008-07-04 04:09:00 +0200
commitb68b57c99fd5da8a7a269270988bb57f76c3dbf4 (patch)
tree8596e0f0798d8ca5441906a0170fa474d753791d
parente9cf673235a1e26cf2ee00e74cecf236ba9cd2a3 (diff)
downloadorg-mode-b68b57c99fd5da8a7a269270988bb57f76c3dbf4.tar.gz
Small doc fixes from Emacs (Juanma Barranquero) and a bug fix in org-exp.el.
See <E1KE2Mh-0005EC-CF@cvs.savannah.gnu.org> in emacs-commit@: * org.el (org-agenda-skip-unavailable-files): * org-clock.el (org-clock-out-when-done): Doc fixes. The bug affected the exportation of commented subtree: case cannot be ignored when checking for the COMMENT cookie ("Comment" is a frequent word in french, and has a completely different meaning.)
-rwxr-xr-xlisp/ChangeLog9
-rw-r--r--lisp/org-clock.el4
-rw-r--r--lisp/org-exp.el3
-rw-r--r--lisp/org.el4
4 files changed, 15 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 44e9d58..eb3fd6d 100755
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
+2008-07-04 Bastien Guerry <bzg@altern.org>
+
+ * org-clock.el (org-clock-out-when-done): Doc fix.
+
+ * org.el (org-agenda-skip-unavailable-files): Doc fix.
+
+ * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
+ Ignore case when searching for the COMMENT cookie at export time.
+
2008-07-02 Carsten Dominik <dominik@science.uva.nl>
* org-exp.el (org-get-file-contents)
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 70d4fb9..62d3d58 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -54,8 +54,8 @@ reaches or exceeds this number, a drawer will be created."
(integer :tag "When at least N clock entries")))
(defcustom org-clock-out-when-done t
- "When t, the clock will be stopped when the relevant entry is marked DONE.
-Nil means, clock will keep running until stopped explicitly with
+ "When non-nil, the clock will be stopped when the relevant entry is marked DONE.
+A nil value means, clock will keep running until stopped explicitly with
`C-c C-x C-o', or until the clock is started in a different item."
:group 'org-clock
:type 'boolean)
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index e14fac7..119a582 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -1638,7 +1638,8 @@ These special cookies will later be interpreted by the backend."
(defun org-export-remove-comment-blocks-and-subtrees ()
"Remove the comment environment, and also commented subtrees."
- (let ((re-commented (concat "^\\*+[ \t]+" org-comment-string "\\>")))
+ (let ((re-commented (concat "^\\*+[ \t]+" org-comment-string "\\>"))
+ (case-fold-search nil))
;; Remove comment environment
(goto-char (point-min))
(while (re-search-forward
diff --git a/lisp/org.el b/lisp/org.el
index f614041..2499976 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -1987,8 +1987,8 @@ scope."
'org-agenda-text-search-extra-files))
(defcustom org-agenda-skip-unavailable-files nil
- "t means to just skip non-reachable files in `org-agenda-files'.
-Nil means to remove them, after a query, from the list."
+ "Non-nil means to just skip non-reachable files in `org-agenda-files'.
+A nil value means to remove them, after a query, from the list."
:group 'org-agenda
:type 'boolean)