mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-30 17:03:09 +00:00
Merge branch 'maint'
This commit is contained in:
commit
0f0fa81dd0
|
@ -7661,6 +7661,7 @@ When NO-OPERATOR is non-nil, do not add the + operator to returned tags."
|
|||
(defun org-agenda-remove-filter (type)
|
||||
(interactive)
|
||||
"Remove filter of type TYPE from the agenda buffer."
|
||||
(save-excursion
|
||||
(goto-char (point-min))
|
||||
(let ((inhibit-read-only t) pos)
|
||||
(while (setq pos (text-property-any (point) (point-max) 'org-filter-type type))
|
||||
|
@ -7671,7 +7672,7 @@ When NO-OPERATOR is non-nil, do not add the + operator to returned tags."
|
|||
(set (intern (format "org-agenda-%s-filter" (intern-soft type))) nil)
|
||||
(setq org-agenda-filter-form nil)
|
||||
(org-agenda-set-mode-name)
|
||||
(org-agenda-finalize))
|
||||
(org-agenda-finalize)))
|
||||
|
||||
(defun org-agenda-filter-show-all-tag nil
|
||||
(org-agenda-remove-filter 'tag))
|
||||
|
|
Loading…
Reference in a new issue