浏览代码

org-capture.el (org-capture): Don't store multiple links over lines in the active region

* org-capture.el (org-capture): Don't store multiple links
over lines in the active region.

Thanks to Matt Lundin for reporting this.
Bastien Guerry 12 年之前
父节点
当前提交
2c994218ea
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org-capture.el

+ 1 - 1
lisp/org-capture.el

@@ -542,7 +542,7 @@ of the day at point (if any) or the current HH:MM time."
 	   (annotation (if (and (boundp 'org-capture-link-is-already-stored)
 				org-capture-link-is-already-stored)
 			   (plist-get org-store-link-plist :annotation)
-			 (ignore-errors (org-store-link nil))))
+			 (ignore-errors (org-store-link nil t))))
 	   (entry (or org-capture-entry (org-capture-select-template keys)))
 	   initial)
       (setq initial (or org-capture-initial