summaryrefslogtreecommitdiff
path: root/lisp/double.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/double.el')
-rw-r--r--lisp/double.el9
1 files changed, 1 insertions, 8 deletions
diff --git a/lisp/double.el b/lisp/double.el
index 8bbbaa58189..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)))
@@ -141,12 +140,6 @@ but not `C-u X' or `ESC X' since the X is not the prefix key."
;;; Mode
-;; This feature seemed useless and it confused describe-mode,
-;; so I deleted it.
-;; (defvar double-mode-name "Double")
-;; ;; Name of current double mode.
-;; (make-variable-buffer-local 'double-mode-name)
-
;;;###autoload
(define-minor-mode double-mode
"Toggle special insertion on double keypresses (Double mode).