]> git.eshelyaron.com Git - emacs.git/commitdiff
Use require instead of boundp+load-library in double.el
authorStefan Kangas <stefan@marxist.se>
Thu, 4 Feb 2021 04:02:42 +0000 (05:02 +0100)
committerStefan Kangas <stefan@marxist.se>
Thu, 4 Feb 2021 04:28:00 +0000 (05:28 +0100)
* lisp/double.el (isearch): Use require instead of
boundp+load-library.

lisp/double.el

index d099fd06422401cfbaf9b25716e8a0132400771f..7bc8d92e600537c5ab8e84ebceb29f50d15161c0 100644 (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)))