mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-26 07:33:39 +00:00
Fixed bug with malformed face properties.
Patch by Steven E. Harris.
This commit is contained in:
parent
b87ec4c0f1
commit
c542119a2a
@ -1,5 +1,8 @@
|
||||
2008-07-26 Carsten Dominik <dominik@science.uva.nl>
|
||||
|
||||
* org-agenda.el (org-agenda-align-tags): Fix bug with malformed
|
||||
face property.
|
||||
|
||||
* org-colview.el (org-columns-display-here): Use
|
||||
`org-columns-modify-value-for-display-function'.
|
||||
|
||||
|
@ -4768,8 +4768,12 @@ the new TODO state."
|
||||
(if line (point-at-eol) nil) t)
|
||||
(add-text-properties
|
||||
(match-beginning 2) (match-end 2)
|
||||
(list 'face (delq nil (list 'org-tag (get-text-property
|
||||
(match-beginning 2) 'face)))))
|
||||
(list 'face (delq nil (adjoin 'org-tag
|
||||
(let ((prop (get-text-property
|
||||
(match-beginning 2) 'face)))
|
||||
(if (listp prop)
|
||||
prop
|
||||
(list prop)))))))
|
||||
(setq l (- (match-end 2) (match-beginning 2))
|
||||
c (if (< org-agenda-tags-column 0)
|
||||
(- (abs org-agenda-tags-column) l)
|
||||
|
Loading…
Reference in New Issue
Block a user