Explorar o código

ox: Tiny refactoring

* lisp/ox.el (org-export--smart-quote-status): Tiny refactoring.
Nicolas Goaziou %!s(int64=9) %!d(string=hai) anos
pai
achega
a5977a2740
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/ox.el

+ 1 - 1
lisp/ox.el

@@ -5284,7 +5284,7 @@ INFO is the current export state, as a plist."
 			     (let ((p (org-export-get-previous-element
 				       text info)))
 			       (cond ((not p) nil)
-				     ((stringp p) (substring p (1- (length p))))
+				     ((stringp p) (substring p -1))
 				     ((memq (org-element-property :post-blank p)
 					    '(0 nil))
 				      'no-blank)