aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-09-15 02:34:54 +0000
committerGlenn Morris2009-09-15 02:34:54 +0000
commit2b8e87c4693dd1ffab7d9c4bd1adb7290fef1759 (patch)
tree63c20ae81a4e473dba15eecf5113f5a7777ecbaa
parentc276856990ea90210a2b446e710f29102e45ac25 (diff)
downloademacs-2b8e87c4693dd1ffab7d9c4bd1adb7290fef1759.tar.gz
emacs-2b8e87c4693dd1ffab7d9c4bd1adb7290fef1759.zip
(diary-display-function): Change the default to fancy display.
(body): Define for compiler.
-rw-r--r--lisp/calendar/diary-lib.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el
index 3beb3548a35..6f73c1048dd 100644
--- a/lisp/calendar/diary-lib.el
+++ b/lisp/calendar/diary-lib.el
@@ -151,10 +151,9 @@ Used for example by the appointment package - see `appt-activate'."
151(define-obsolete-variable-alias 'diary-display-hook 'diary-display-function 151(define-obsolete-variable-alias 'diary-display-hook 'diary-display-function
152 "23.1") 152 "23.1")
153 153
154(defcustom diary-display-function 'diary-simple-display 154(defcustom diary-display-function 'diary-fancy-display
155 "Function used to display the diary. 155 "Function used to display the diary.
156The default is `diary-simple-display'; `diary-fancy-display' is 156The two standard options are `diary-fancy-display' and `diary-simple-display'.
157an alternative.
158 157
159For historical reasons, `nil' is the same as `diary-simple-display' 158For historical reasons, `nil' is the same as `diary-simple-display'
160\(so you must use `ignore' for no display). Also for historical 159\(so you must use `ignore' for no display). Also for historical
@@ -167,14 +166,14 @@ form of ((MONTH DAY YEAR) STRING), where string is the diary
167entry for the given date. This can be used, for example, to 166entry for the given date. This can be used, for example, to
168produce a different buffer for display (perhaps combined with 167produce a different buffer for display (perhaps combined with
169holidays), or hard copy output." 168holidays), or hard copy output."
170 :type '(choice (const diary-simple-display :tag "Basic display") 169 :type '(choice (const diary-fancy-display :tag "Fancy display")
171 (const diary-fancy-display :tag "Fancy display") 170 (const diary-simple-display :tag "Basic display")
172 (const ignore :tag "No display") 171 (const ignore :tag "No display")
173 (const nil :tag "Obsolete way to choose basic display") 172 (const nil :tag "Obsolete way to choose basic display")
174 (hook :tag "Obsolete form with list of display functions")) 173 (hook :tag "Obsolete form with list of display functions"))
175 :initialize 'custom-initialize-default 174 :initialize 'custom-initialize-default
176 :set 'diary-set-maybe-redraw 175 :set 'diary-set-maybe-redraw
177 :version "23.1" 176 :version "23.2" ; simple->fancy
178 :group 'diary) 177 :group 'diary)
179 178
180(define-obsolete-variable-alias 'list-diary-entries-hook 179(define-obsolete-variable-alias 'list-diary-entries-hook
@@ -2381,6 +2380,7 @@ Fontify the region between BEG and END, quietly unless VERBOSE is non-nil."
2381;; `diary-outlook-formats'. 2380;; `diary-outlook-formats'.
2382 2381
2383(defvar subject) ; bound in diary-from-outlook-gnus 2382(defvar subject) ; bound in diary-from-outlook-gnus
2383(defvar body)
2384 2384
2385(defun diary-from-outlook-internal (&optional test-only) 2385(defun diary-from-outlook-internal (&optional test-only)
2386 "Snarf a diary entry from a message assumed to be from MS Outlook. 2386 "Snarf a diary entry from a message assumed to be from MS Outlook.