summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-03-27 06:12:25 +0000
committerGlenn Morris <rgm@gnu.org>2008-03-27 06:12:25 +0000
commit78d2cbe156de083987ff590d6cd83cb667e07c75 (patch)
treea2b49357056634bbbe2d6ceaf8715e1703a68aad
parentf42d59a5d7839eb5990c5325392ce4e5d39d6550 (diff)
downloademacs-78d2cbe156de083987ff590d6cd83cb667e07c75.tar.gz
(diary-face-attrs): Revert previous change to `weight' type. Fix
`height' regexp.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/calendar/diary-lib.el4
2 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 24f0c7d6da6..f297ef1798a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -9,7 +9,7 @@
* calendar/cal-hebrew.el (list-hebrew-diary-entries):
* calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
- * calendar/diary-lib.el (diary-face-attrs): Fix type of `width'.
+ * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
(list-diary-entries-hook, mark-diary-entries-hook)
(include-other-diary-files, mark-included-diary-files): Doc fixes.
(diary-set-header): New function.
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el
index 8786ea95ad8..8a7fca4834c 100644
--- a/lisp/calendar/diary-lib.el
+++ b/lisp/calendar/diary-lib.el
@@ -84,8 +84,8 @@ are holidays."
(defcustom diary-face-attrs
'((" *\\[foreground:\\([-a-z]+\\)\\]$" 1 :foreground string)
(" *\\[background:\\([-a-z]+\\)\\]$" 1 :background string)
- (" *\\[width:\\([-a-z]+\\)\\]$" 1 :width int)
- (" *\\[height:\\([-0-9a-z]+\\)\\]$" 1 :height int)
+ (" *\\[width:\\([-a-z]+\\)\\]$" 1 :width symbol)
+ (" *\\[height:\\([.0-9]+\\)\\]$" 1 :height int)
(" *\\[weight:\\([-a-z]+\\)\\]$" 1 :weight symbol)
(" *\\[slant:\\([-a-z]+\\)\\]$" 1 :slant symbol)
(" *\\[underline:\\([-a-z]+\\)\\]$" 1 :underline stringtnil)