emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7febfe1 3/3: Use require instead of boundp+load-library in double


From: Stefan Kangas
Subject: master 7febfe1 3/3: Use require instead of boundp+load-library in double.el
Date: Wed, 3 Feb 2021 23:28:50 -0500 (EST)

branch: master
commit 7febfe1c2bad173a9d89a667738be081e74e639f
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Use require instead of boundp+load-library in double.el
    
    * lisp/double.el (isearch): Use require instead of
    boundp+load-library.
---
 lisp/double.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/double.el b/lisp/double.el
index d099fd0..7bc8d92 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]