summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-10-18 20:55:18 (GMT)
committer Nicolas Goaziou <mail@nicolasgoaziou.fr>2017-10-18 20:55:18 (GMT)
commitff6fbaf395646084a5166e047135d5129a05bbba (patch)
tree1a3405f931f43bd4a73365faa66f984c0b59bcd9
parentcd9cccb4b28806c4af05fdc192a1babeb75bed22 (diff)
parentee24c0769bcdcaa6bcd26a75d29e27f2bf420526 (diff)
downloadorg-mode-master.zip
org-mode-master.tar.gz
Merge branch 'maint'HEADmaster
-rw-r--r--lisp/ox-man.el14
1 files changed, 5 insertions, 9 deletions
diff --git a/lisp/ox-man.el b/lisp/ox-man.el
index fb8f7be..58083ca 100644
--- a/lisp/ox-man.el
+++ b/lisp/ox-man.el
@@ -350,10 +350,8 @@ holding contextual information."
;;; Code
(defun org-man-code (code _contents _info)
- "Transcode a CODE object from Org to Man.
-CONTENTS is nil. INFO is a plist used as a communication
-channel."
- (format "\\fC%s\\fP" code))
+ "Transcode a CODE object from Org to Man."
+ (format "\\fC%s\\fP" (org-element-property :value code)))
;;; Drawer
@@ -1029,11 +1027,9 @@ holding contextual information."
;;; Verbatim
-(defun org-man-verbatim (_verbatim contents _info)
- "Transcode a VERBATIM object from Org to Man.
-CONTENTS is nil. INFO is a plist used as a communication
-channel."
- (format ".nf\n%s\n.fi" contents))
+(defun org-man-verbatim (verbatim _contents _info)
+ "Transcode a VERBATIM object from Org to Man."
+ (format ".nf\n%s\n.fi" (org-element-property :value verbatim)))
;;; Verse Block