]> git.eshelyaron.com Git - emacs.git/commitdiff
(cal-tex-preamble-extra): Add an example string value to help people
authorGlenn Morris <rgm@gnu.org>
Sun, 15 Mar 2009 21:32:14 +0000 (21:32 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 15 Mar 2009 21:32:14 +0000 (21:32 +0000)
with the formatting.

lisp/ChangeLog
lisp/calendar/cal-tex.el

index d9a3375ec258dc8b186bea49cf9ec8510a8d9d8e..3c0bdbc20c0cc8adca733a6984a3f5a9ea348331 100644 (file)
@@ -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.
index c89a295f33332e79447b8457c3f254800f83ff34..829844b3ec1026254415752f27f0df6622e4a0f7 100644 (file)
@@ -142,7 +142,9 @@ At present, this only affects `cal-tex-cursor-day'"
   "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")