diff --git a/org.el b/org.el index e07661cfa..2352a6b02 100644 --- a/org.el +++ b/org.el @@ -15262,6 +15262,7 @@ will only contain one set of parameters. When the highlights are removed (for example with `C-c C-c', or with the next edit (depending on `org-remove-highlights-with-change'), this variable is emptied as well.") +(make-variable-buffer-local 'org-occur-parameters) (defun org-occur (regexp &optional keep-previous callback) "Make a compact tree which shows all matches of REGEXP.