mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
* 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.
This commit is contained in:
parent
c31c31e57f
commit
abf0f8666d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user