Explorar o código

ox-texinfo: fix bug in 3432681fbe

* lisp/ox-texinfo.el: Add missing argument to call of
  `org-element-property'.
Achim Gratz %!s(int64=10) %!d(string=hai) anos
pai
achega
1aa719cff2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/ox-texinfo.el

+ 1 - 1
lisp/ox-texinfo.el

@@ -1235,7 +1235,7 @@ holding contextual information."
   "Transcode a SPECIAL-BLOCK element from Org to Texinfo.
 CONTENTS holds the contents of the block.  INFO is a plist used
 as a communication channel."
-  (let ((type (org-element-property :type)))
+  (let ((type (org-element-property :type special-block)))
     (format "@%s\n%s@end %s" type contents type)))
 
 ;;;; Src Block