diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-04-09 23:43:36 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-04-09 23:43:36 +0200 |
commit | b07a31cbd74d241a3773e16df089efcae4f292d7 (patch) | |
tree | 4f2f6da0c7618a7fb42d52eae996b58c860a0be0 | |
parent | f63bb5eea803e8202f748a246b6d4a6fb9df4706 (diff) | |
parent | 5469bc4e552784c2d4f1b32984b95c371fbd4425 (diff) | |
download | org-mode-b07a31cbd74d241a3773e16df089efcae4f292d7.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/org-colview.el | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lisp/org-colview.el b/lisp/org-colview.el index d80fa8e..517bcdf 100644 --- a/lisp/org-colview.el +++ b/lisp/org-colview.el @@ -1165,14 +1165,13 @@ properties drawers." (last-level lmax) (property (car spec)) (printf (nth 4 spec)) - (operator (nth 3 spec)) + ;; Special properties cannot be collected nor summarized, as + ;; they have their own way to be computed. Therefore, ignore + ;; any operator attached to them. + (operator (and (not (member property org-special-properties)) + (nth 3 spec))) (collect (and operator (org-columns--collect operator))) - (summarize (and operator (org-columns--summarize operator))) - ;; Special properties are not set in a property drawer, and - ;; therefore should not be updated. - (update - (and update - (not (member property org-special-properties))))) + (summarize (and operator (org-columns--summarize operator)))) (org-with-wide-buffer ;; Find the region to compute. (goto-char org-columns-top-level-marker) |