浏览代码

Merge branch 'hotfix'

Conflicts:
	lisp/org-capture.el
	lisp/org-clock.el
Bastien Guerry 13 年之前
父节点
当前提交
72d911cfa2
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      lisp/org.el

+ 4 - 1
lisp/org.el

@@ -13756,7 +13756,10 @@ Returns the new tags string, or nil to not change the current settings."
 				 (append (or buffer-tags
 					     (with-current-buffer buf
 					       (mapcar 'car (org-get-buffer-tags))))
-					 (mapcar 'car table)))))
+					 (delq nil
+					       (mapcar (lambda (x)
+							 (if (stringp
+							      (car x)) x)) table))))))
 		    (quit (setq tg "")))
 		  (when (string-match "\\S-" tg)
 		    (add-to-list 'buffer-tags (list tg))