summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien <bzg@gnu.org>2020-02-02 19:30:25 +0100
committerBastien <bzg@gnu.org>2020-02-02 19:30:25 +0100
commit8aa206583bfc23daae891271e4ded518325a3113 (patch)
tree30221153453ef3d3931c17768b6776e97ef8bb1f
parentefbf96389ad6452bca4c641a064001d28eeb629f (diff)
downloadorg-mode-8aa206583bfc23daae891271e4ded518325a3113.tar.gz
org-agenda.el: Fix `org-agenda-filter-hide-line'
* lisp/org-agenda.el (org-agenda-filter-hide-line): Temporarily set `buffer-invisibility-spec' to `nil'.
-rw-r--r--lisp/org-agenda.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 2a2352d..d2397cc 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -8052,7 +8052,8 @@ tags in the FILTER if any of the tags in FILTER are grouptags."
(defun org-agenda-filter-hide-line (type)
"Hide lines with TYPE in the agenda buffer."
- (let* ((b (max (point-min) (1- (point-at-bol))))
+ (let* (buffer-invisibility-spec
+ (b (max (point-min) (1- (point-at-bol))))
(e (point-at-eol)))
(let ((inhibit-read-only t))
(add-text-properties