diff options
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/calendar/diary-lib.el | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ce2c1463b29..cbd9f90e11e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2009-08-22 Glenn Morris <rgm@gnu.org> | 1 | 2009-08-22 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a | ||
| 4 | given name if the pattern is not more specific. | ||
| 5 | |||
| 3 | * calendar/lunar.el (lunar-phase-names): New option. | 6 | * calendar/lunar.el (lunar-phase-names): New option. |
| 4 | (lunar-phase): Doc fix. | 7 | (lunar-phase): Doc fix. |
| 5 | (lunar-cycles-per-year): New constant. | 8 | (lunar-cycles-per-year): New constant. |
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index 0081170d8ac..ac608517e0f 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el | |||
| @@ -1246,7 +1246,9 @@ function that converts absolute dates to dates of the appropriate type. " | |||
| 1246 | (buffer-substring-no-properties | 1246 | (buffer-substring-no-properties |
| 1247 | (point) (line-end-position)) | 1247 | (point) (line-end-position)) |
| 1248 | file-glob-attrs))) | 1248 | file-glob-attrs))) |
| 1249 | (if dd-name | 1249 | ;; Only mark all days of a given name if the pattern |
| 1250 | ;; contains no more specific elements. | ||
| 1251 | (if (and dd-name (not (or d-pos m-pos y-pos))) | ||
| 1250 | (calendar-mark-days-named | 1252 | (calendar-mark-days-named |
| 1251 | (cdr (assoc-string dd-name | 1253 | (cdr (assoc-string dd-name |
| 1252 | (calendar-make-alist | 1254 | (calendar-make-alist |