소스 검색

Fix last commit

Nicolas Goaziou 5 년 전
부모
커밋
73c0989037
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      lisp/ob-tangle.el

+ 2 - 1
lisp/ob-tangle.el

@@ -500,7 +500,8 @@ by `org-babel-get-src-block-info'."
   (let ((link-data (pcase (or info (org-babel-get-src-block-info 'light))
 		     (`(,_ ,_ ,_ ,_ ,name ,start ,_)
 		      `(("start-line" . ,(org-with-point-at start
-					   (line-beginning-position)))
+					   (number-to-string
+					    (line-number-at-pos))))
 			("file" . ,(buffer-file-name))
 			("link" . ,(org-no-properties (org-store-link nil)))
 			("source-name" . ,name))))))