[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 881c479: * lisp/isearch.el (isearch-toggle-word): F
From: |
Artur Malabarba |
Subject: |
[Emacs-diffs] master 881c479: * lisp/isearch.el (isearch-toggle-word): Fix toggle |
Date: |
Tue, 30 Jun 2015 14:35:00 +0000 |
branch: master
commit 881c4790266c42805ac1b9a5f1bbe13d3dd23478
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>
* lisp/isearch.el (isearch-toggle-word): Fix toggle
---
lisp/isearch.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 62899ab..a103c5a 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1500,7 +1500,7 @@ Use `isearch-exit' to quit without signaling."
"Toggle word searching on or off."
;; The status stack is left unchanged.
(interactive)
- (setq isearch-word (not isearch-word))
+ (setq isearch-word (if (eq isearch-word t) nil t))
(if isearch-word (setq isearch-regexp nil))
(setq isearch-success t isearch-adjusted t)
(isearch-update))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 881c479: * lisp/isearch.el (isearch-toggle-word): Fix toggle,
Artur Malabarba <=