diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-08-24 22:58:29 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-08-24 22:58:29 +0200 |
commit | 73c0989037e6bf9ed39e57867a662b861e9d0af8 (patch) | |
tree | db4d6c7a78796a8b2c9e6eabcd02116a4165c5d8 | |
parent | ed048fa83d72fc359996dd4f9793d375464dae4a (diff) | |
download | org-mode-73c0989037e6bf9ed39e57867a662b861e9d0af8.tar.gz |
Fix last commit
-rw-r--r-- | lisp/ob-tangle.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ob-tangle.el b/lisp/ob-tangle.el index ad22127..ca5dff4 100644 --- a/lisp/ob-tangle.el +++ b/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)))))) |