summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Rosenfeld <listuser36@gmail.com>2013-05-05 15:22:51 +0200
committerAlan Schmitt <alan.schmitt@polytechnique.org>2013-05-05 19:04:41 +0200
commit0e85c4393545f08094030c34955cf71a8ab49991 (patch)
tree04409c14c484c9042aa88acb51064a9986583b46
parentd19964c74f3fbf9047ef07088820d0e2df9dc39a (diff)
downloadorg-mode-0e85c4393545f08094030c34955cf71a8ab49991.tar.gz
ox-koma-letter.el: Give the user complete control over foldmarks appearance.
* ox-koma-letter.el (org-koma-letter-use-foldmarks) Update documentation (org-koma-letter-template): Pass foldmarks setting to KOMA-Script TINYCHANGE Signed-off-by: Alan Schmitt <alan.schmitt@polytechnique.org>
-rw-r--r--contrib/lisp/ox-koma-letter.el13
1 files changed, 9 insertions, 4 deletions
diff --git a/contrib/lisp/ox-koma-letter.el b/contrib/lisp/ox-koma-letter.el
index 37ff903..96c0569 100644
--- a/contrib/lisp/ox-koma-letter.el
+++ b/contrib/lisp/ox-koma-letter.el
@@ -130,10 +130,15 @@
:group 'org-export-koma-letter
:type 'boolean)
-(defcustom org-koma-letter-use-foldmarks t
- "Print foldmarks."
+(defcustom org-koma-letter-use-foldmarks "true"
+ "Configure appearence of fold marks.
+
+Accepts any valid value for the KOMA-Script `foldmarks' option.
+
+Use `foldmarks:true' to activate default fold marks or
+`foldmarks:nil' to deactivate fold marks."
:group 'org-export-koma-letter
- :type 'boolean)
+ :type 'string)
(defcustom org-koma-letter-use-phone t
"Print sender's phone number."
@@ -286,7 +291,7 @@ holding export options."
(with-email (plist-get info :with-email)))
(concat
(format "\\KOMAoption{backaddress}{%s}\n" (if with-backaddress "true" "false"))
- (format "\\KOMAoption{foldmarks}{%s}\n" (if with-foldmarks "true" "false"))
+ (format "\\KOMAoption{foldmarks}{%s}\n" (if with-foldmarks with-foldmarks "false"))
(format "\\KOMAoption{fromphone}{%s}\n" (if with-phone "true" "false"))
(format "\\KOMAoption{fromemail}{%s}\n" (if with-email "true" "false"))))
;; Document start