summaryrefslogtreecommitdiff
path: root/lisp/double.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-02-04 05:02:42 +0100
committerStefan Kangas <stefan@marxist.se>2021-02-04 05:28:00 +0100
commit7febfe1c2bad173a9d89a667738be081e74e639f (patch)
tree2a97861ef5dae92dced632dd0765a88bf2fbbc69 /lisp/double.el
parent0d8e15757ed610bbe1833b7540006bbf7363c776 (diff)
downloademacs-7febfe1c2bad173a9d89a667738be081e74e639f.tar.gz
emacs-7febfe1c2bad173a9d89a667738be081e74e639f.tar.bz2
emacs-7febfe1c2bad173a9d89a667738be081e74e639f.zip
Use require instead of boundp+load-library in double.el
* lisp/double.el (isearch): Use require instead of boundp+load-library.
Diffstat (limited to 'lisp/double.el')
-rw-r--r--lisp/double.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/double.el b/lisp/double.el
index d099fd06422..7bc8d92e600 100644
--- a/lisp/double.el
+++ b/lisp/double.el
@@ -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)))