|
@@ -11049,14 +11049,18 @@ display, or in the #+COLUMNS line of the current buffer."
|
|
org-overriding-columns-format)
|
|
org-overriding-columns-format)
|
|
(setq fmt org-overriding-columns-format))
|
|
(setq fmt org-overriding-columns-format))
|
|
((setq m (get-text-property (point-at-bol) 'org-hd-marker))
|
|
((setq m (get-text-property (point-at-bol) 'org-hd-marker))
|
|
- (setq fmt (org-entry-get m "COLUMNS" t)))
|
|
|
|
|
|
+ (setq fmt (or (org-entry-get m "COLUMNS" t)
|
|
|
|
+ (with-current-buffer (marker-buffer m)
|
|
|
|
+ org-columns-default-format))))
|
|
((and (boundp 'org-columns-current-fmt)
|
|
((and (boundp 'org-columns-current-fmt)
|
|
(local-variable-p 'org-columns-current-fmt)
|
|
(local-variable-p 'org-columns-current-fmt)
|
|
org-columns-current-fmt)
|
|
org-columns-current-fmt)
|
|
(setq fmt org-columns-current-fmt))
|
|
(setq fmt org-columns-current-fmt))
|
|
((setq m (next-single-property-change (point-min) 'org-hd-marker))
|
|
((setq m (next-single-property-change (point-min) 'org-hd-marker))
|
|
(setq m (get-text-property m 'org-hd-marker))
|
|
(setq m (get-text-property m 'org-hd-marker))
|
|
- (setq fmt (org-entry-get m "COLUMNS" t))))
|
|
|
|
|
|
+ (setq fmt (or (org-entry-get m "COLUMNS" t)
|
|
|
|
+ (with-current-buffer (marker-buffer m)
|
|
|
|
+ org-columns-default-format)))))
|
|
(setq fmt (or fmt org-columns-default-format))
|
|
(setq fmt (or fmt org-columns-default-format))
|
|
(org-set-local 'org-columns-current-fmt fmt)
|
|
(org-set-local 'org-columns-current-fmt fmt)
|
|
(org-columns-compile-format fmt)
|
|
(org-columns-compile-format fmt)
|