From ab0bf49a651f3ff99a718cebc972d7b91e96d454 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Tue, 4 Mar 2008 13:10:22 +0100 Subject: [PATCH] Small fixes. --- org.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.el b/org.el index 471edf71f..d88093795 100644 --- a/org.el +++ b/org.el @@ -15263,7 +15263,8 @@ command. If CALLBACK is non-nil, it is a function which is called to confirm that the match should indeed be shown." (interactive "sRegexp: \nP") - (or keep-previous (org-remove-occur-highlights nil nil t)) + (unless keep-previous + (org-remove-occur-highlights nil nil t)) (let ((cnt 0)) (save-excursion (goto-char (point-min))