diff options
author | Jay McCarthy <jay.mccarthy@gmail.com> | 2012-08-21 20:05:34 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-08-21 20:05:34 +0200 |
commit | ade209b7c599a89adc4df4c0f81058dca9f11fd5 (patch) | |
tree | 3705b0182bbaea3954c248721daa62486bcbe8a6 | |
parent | 043f2fcbbcd8eda1394f603dda663ab202605d9b (diff) | |
download | org-mode-ade209b7c599a89adc4df4c0f81058dca9f11fd5.tar.gz |
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
-rw-r--r-- | lisp/org-colview.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org-colview.el b/lisp/org-colview.el index 21967f2..53c3519 100644 --- a/lisp/org-colview.el +++ b/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)) |