浏览代码

org-colview.el: Make sure to add a face to a string that has no face

* org-colview.el (org-columns-new-overlay): Make sure to add a
face to a string that has no face.

TINYCHANGE

See the description of the bug here:
http://thread.gmane.org/gmane.emacs.orgmode/58984
Jay McCarthy 12 年之前
父节点
当前提交
ade209b7c5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lisp/org-colview.el

+ 1 - 0
lisp/org-colview.el

@@ -150,6 +150,7 @@ This is the compiled version of the format.")
   "Create a new column overlay and add it to the list."
   (let ((ov (make-overlay beg end)))
     (overlay-put ov 'face (or face 'secondary-selection))
+    (remove-text-properties 0 (length string) '(face nil) string)
     (org-overlay-display ov string face)
     (push ov org-columns-overlays)
     ov))