aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-04-11 03:46:35 +0000
committerGlenn Morris2008-04-11 03:46:35 +0000
commitfe5ffe0b8428746bbb727d5e2c6f9d5dcb930e25 (patch)
tree1b0528d3ccf1b441efc50e916ffc17b782c5072b
parent712f117bfdb9330c0de5f5bdb6b409c27a7815b4 (diff)
downloademacs-fe5ffe0b8428746bbb727d5e2c6f9d5dcb930e25.tar.gz
emacs-fe5ffe0b8428746bbb727d5e2c6f9d5dcb930e25.zip
Move custom group here from calendar.el.
-rw-r--r--lisp/calendar/diary-lib.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el
index 4f0724b0f33..af56fd87664 100644
--- a/lisp/calendar/diary-lib.el
+++ b/lisp/calendar/diary-lib.el
@@ -33,6 +33,11 @@
33(require 'calendar) 33(require 'calendar)
34(require 'diary-loaddefs) 34(require 'diary-loaddefs)
35 35
36(defgroup diary nil
37 "Emacs diary."
38 :prefix "diary-"
39 :group 'calendar)
40
36(defcustom diary-include-string "#include" 41(defcustom diary-include-string "#include"
37 "The string indicating inclusion of another file of diary entries. 42 "The string indicating inclusion of another file of diary entries.
38See the documentation for the function `diary-include-other-diary-files'." 43See the documentation for the function `diary-include-other-diary-files'."
@@ -1351,6 +1356,8 @@ is marked. See the documentation for the function `diary-list-sexp-entries'."
1351 (if (bolp) (backward-char 1)) 1356 (if (bolp) (backward-char 1))
1352 (setq entry (buffer-substring-no-properties entry-start (point)))) 1357 (setq entry (buffer-substring-no-properties entry-start (point))))
1353 (setq date (1- first-date)) 1358 (setq date (1- first-date))
1359 ;; FIXME this loops over all visible dates.
1360 ;; Could be optimized in many cases. Depends on whether t or * present.
1354 (while (<= (setq date (1+ date)) last-date) 1361 (while (<= (setq date (1+ date)) last-date)
1355 (when (setq mark (diary-sexp-entry 1362 (when (setq mark (diary-sexp-entry
1356 sexp entry 1363 sexp entry