diff options
| author | Juri Linkov | 2012-08-08 11:05:58 +0300 |
|---|---|---|
| committer | Juri Linkov | 2012-08-08 11:05:58 +0300 |
| commit | 242c0a95652b91de2d3b3acd2bc2b84a352ea5eb (patch) | |
| tree | 3a7421c5a7f518192617c4e69cfe3661fb617219 | |
| parent | 32ac3a6ba32f947a8d6b81ef7609dc69fd6a5d48 (diff) | |
| download | emacs-242c0a95652b91de2d3b3acd2bc2b84a352ea5eb.tar.gz emacs-242c0a95652b91de2d3b3acd2bc2b84a352ea5eb.zip | |
* lisp/info.el (Info-isearch-search): Doc fix.
(Info-search): Change search-failed message from "initial node" to
"end of node".
(Info-isearch-search): Change `isearch-string-state' to
`isearch--state-string'.
Fixes: debbugs:12078
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/info.el | 12 |
2 files changed, 14 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 716ed4c0955..f77b5ee9dc4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2012-08-08 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * info.el (Info-isearch-search): Doc fix. | ||
| 4 | (Info-search): Change search-failed message from "initial node" to | ||
| 5 | "end of node" (bug#12078). | ||
| 6 | (Info-isearch-search): Change `isearch-string-state' to | ||
| 7 | `isearch--state-string'. | ||
| 8 | |||
| 1 | 2012-08-08 Glenn Morris <rgm@gnu.org> | 9 | 2012-08-08 Glenn Morris <rgm@gnu.org> |
| 2 | 10 | ||
| 3 | * language/persian.el: Remove file. | 11 | * language/persian.el: Remove file. |
diff --git a/lisp/info.el b/lisp/info.el index 26ee67fc1fb..93046bd13d6 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -342,12 +342,12 @@ a tab, a carriage return (control-M), a newline, and `]+'." | |||
| 342 | (defcustom Info-isearch-search t | 342 | (defcustom Info-isearch-search t |
| 343 | "If non-nil, isearch in Info searches through multiple nodes. | 343 | "If non-nil, isearch in Info searches through multiple nodes. |
| 344 | Before leaving the initial Info node, where isearch was started, | 344 | Before leaving the initial Info node, where isearch was started, |
| 345 | it fails once with the error message [initial node], and with | 345 | it fails once with the error message [end of node], and with |
| 346 | subsequent C-s/C-r continues through other nodes without failing | 346 | subsequent C-s/C-r continues through other nodes without failing |
| 347 | with this error message in other nodes. When isearch fails for | 347 | with this error message in other nodes. When isearch fails for |
| 348 | the rest of the manual, it wraps around the whole manual and | 348 | the rest of the manual, it displays the error message [end of manual], |
| 349 | restarts the search from the top/final node depending on | 349 | wraps around the whole manual and restarts the search from the top/final |
| 350 | search direction. | 350 | node depending on search direction. |
| 351 | 351 | ||
| 352 | Setting this option to nil restores the default isearch behavior | 352 | Setting this option to nil restores the default isearch behavior |
| 353 | with wrapping around the current Info node." | 353 | with wrapping around the current Info node." |
| @@ -1863,7 +1863,7 @@ If DIRECTION is `backward', search in the reverse direction." | |||
| 1863 | (not bound) | 1863 | (not bound) |
| 1864 | (or give-up (and found (not (and (> found opoint-min) | 1864 | (or give-up (and found (not (and (> found opoint-min) |
| 1865 | (< found opoint-max)))))) | 1865 | (< found opoint-max)))))) |
| 1866 | (signal 'search-failed (list regexp "initial node"))) | 1866 | (signal 'search-failed (list regexp "end of node"))) |
| 1867 | 1867 | ||
| 1868 | ;; If no subfiles, give error now. | 1868 | ;; If no subfiles, give error now. |
| 1869 | (if give-up | 1869 | (if give-up |
| @@ -2006,7 +2006,7 @@ If DIRECTION is `backward', search in the reverse direction." | |||
| 2006 | ;; Lax version of word search | 2006 | ;; Lax version of word search |
| 2007 | (let ((lax (not (or isearch-nonincremental | 2007 | (let ((lax (not (or isearch-nonincremental |
| 2008 | (eq (length string) | 2008 | (eq (length string) |
| 2009 | (length (isearch-string-state | 2009 | (length (isearch--state-string |
| 2010 | (car isearch-cmds)))))))) | 2010 | (car isearch-cmds)))))))) |
| 2011 | (if (functionp isearch-word) | 2011 | (if (functionp isearch-word) |
| 2012 | (funcall isearch-word string lax) | 2012 | (funcall isearch-word string lax) |