changeset 102591:f42a82e7d735

(cal-tex-preamble-extra): Add an example string value to help people with the formatting.
author Glenn Morris <rgm@gnu.org>
date Sun, 15 Mar 2009 21:32:14 +0000
parents 9fa00d8098f7
children 9035a057d960
files lisp/ChangeLog lisp/calendar/cal-tex.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Mar 15 21:18:56 2009 +0000
+++ b/lisp/ChangeLog	Sun Mar 15 21:32:14 2009 +0000
@@ -1,5 +1,8 @@
 2009-03-15  Glenn Morris  <rgm@gnu.org>
 
+	* calendar/cal-tex.el (cal-tex-preamble-extra): Add an example string
+	value to help people with the formatting.
+
 	* mail/sendmail.el (mail-yank-prefix): Doc fix.
 	(mail-mode-map): Only enable the "Cite Original" menu-item when
 	appropriate.  Standardize the text used for other headers re hyphens.
--- a/lisp/calendar/cal-tex.el	Sun Mar 15 21:18:56 2009 +0000
+++ b/lisp/calendar/cal-tex.el	Sun Mar 15 21:32:14 2009 +0000
@@ -142,7 +142,9 @@
   "A string giving extra LaTeX commands to insert in the calendar preamble.
 For example, to include extra packages:
 \"\\\\usepackage{foo}\\n\\\\usepackage{bar}\\n\"."
-  :type '(choice (const nil) string)
+  :type '(choice (const nil)
+                 ;; An example to help people format things in custom.
+                 (string :value "\\usepackage{foo}\n\\usepackage{bar}\n"))
   :group 'calendar-tex
   :version "22.1")