forked from mirrors/org-mode
org-agenda.el: Fix the display of the number of commands for block agendas
* org-agenda.el (org-agenda-get-restriction-and-command): Fix the display of the number of commands for block agendas. Thanks to Sébastien Vauban for reporting this.
This commit is contained in:
parent
6cc7ff1092
commit
a82797356c
|
@ -2675,13 +2675,12 @@ L Timeline for current buffer # List stuck projects (!=configure)
|
|||
((stringp match)
|
||||
(setq match (copy-sequence match))
|
||||
(org-add-props match nil 'face 'org-warning))
|
||||
(match
|
||||
(format "set of %d commands" (length match)))
|
||||
(t ""))))
|
||||
((listp type)
|
||||
(format "set of %d commands" (length type))))))
|
||||
(if (org-string-nw-p match)
|
||||
(add-text-properties
|
||||
0 (length line) (list 'help-echo
|
||||
(concat "Matcher: "match)) line)))
|
||||
(concat "Matcher: " match)) line)))
|
||||
(push line lines)))
|
||||
(setq lines (nreverse lines))
|
||||
(when prefixes
|
||||
|
|
Loading…
Reference in New Issue