Explorar el Código

Fix bug in org-export-generic.el

Carsten Dominik hace 15 años
padre
commit
ca5396e063
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      contrib/lisp/org-export-generic.el

+ 1 - 1
contrib/lisp/org-export-generic.el

@@ -824,7 +824,7 @@ underlined headlines.  The default is 3."
 	    (if org-export-generic-links-to-notes
 		(push (cons desc0 link) link-buffer)
 	      (setq rpl (concat rpl " (" link ")")
-		    wrap (+ (length line) (- (length (match-string 0)))
+		    wrap (+ (length line) (- (length (match-string 0) line))
 			    (length desc)))))
 	  (setq line (replace-match rpl t t line))))
       (when custom-times