branch: externals-release/org commit e1b8d1d2b4ef46e0c4ef591536a77eeeed45d998 Author: Nicolas Goaziou <m...@nicolasgoaziou.fr> Commit: Nicolas Goaziou <m...@nicolasgoaziou.fr>
org-colview: Do not choke when updating a special property * lisp/org-colview.el (org-columns--compute-spec): Do not update special properties, which are not set through property drawers. Reported-by: Nick Dokos <ndo...@gmail.com> <http://lists.gnu.org/r/emacs-orgmode/2021-04/msg00135.html> --- lisp/org-colview.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/org-colview.el b/lisp/org-colview.el index 75056d4..d80fa8e 100644 --- a/lisp/org-colview.el +++ b/lisp/org-colview.el @@ -1167,7 +1167,12 @@ properties drawers." (printf (nth 4 spec)) (operator (nth 3 spec)) (collect (and operator (org-columns--collect operator))) - (summarize (and operator (org-columns--summarize 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))))) (org-with-wide-buffer ;; Find the region to compute. (goto-char org-columns-top-level-marker)