From: Juri Linkov Date: Tue, 28 Jan 2020 00:11:59 +0000 (+0200) Subject: * lisp/wdired.el: Clean out isearch-filter-predicate (bug#37496) X-Git-Tag: emacs-27.0.90~90 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=abf0f8666d;p=emacs.git * lisp/wdired.el: Clean out isearch-filter-predicate (bug#37496) * lisp/wdired.el (wdired-change-to-dired-mode): Use remove-function to remove wdired-isearch-filter-read-only (whose value was added in wdired-change-to-wdired-mode) from local value of isearch-filter-predicate. --- diff --git a/lisp/wdired.el b/lisp/wdired.el index d470e0a21b0..d91853e64dd 100644 --- a/lisp/wdired.el +++ b/lisp/wdired.el @@ -357,6 +357,8 @@ non-nil means return old filename." (remove-text-properties (point-min) (point-max) '(front-sticky nil rear-nonsticky nil read-only nil keymap nil))) + (remove-function (local 'isearch-filter-predicate) + #'wdired-isearch-filter-read-only) (use-local-map dired-mode-map) (force-mode-line-update) (setq buffer-read-only t)