Use require instead of boundp+load-library in double.el

* lisp/double.el (isearch): Use require instead of
boundp+load-library.
This commit is contained in:
Stefan Kangas 2021-02-04 05:02:42 +01:00
parent 0d8e15757e
commit 7febfe1c2b

View file

@ -95,8 +95,7 @@ but not `C-u X' or `ESC X' since the X is not the prefix key."
(global-set-key [ignore] 'ignore)
(or (boundp 'isearch-mode-map)
(load-library "isearch"))
(require 'isearch)
(define-key isearch-mode-map [ignore]
(lambda () (interactive) (isearch-update)))