+2007-11-16 Tassilo Horn <tassilo@member.fsf.org>
+
+ * doc-view.el (doc-view-search-backward, doc-view-search): Fix
+ assignment to free variable bug.
+
2007-11-16 Martin Pohlack <mp26@os.inf.tu-dresden.de> (tiny change)
* emulation/pc-select.el (pc-select-shifted-mark): New var.
"Call `doc-view-search' for backward search.
If prefix NEW-QUERY is given, ask for a new regexp."
(interactive "P")
- (doc-view-search arg t))
+ (doc-view-search new-query t))
(defun doc-view-search (new-query &optional backward)
"Jump to the next match or initiate a new search if NEW-QUERY is given.
till now do that first.
If BACKWARD is non-nil, jump to the previous match."
(interactive "P")
- (if (and (not arg)
+ (if (and (not new-query)
doc-view-current-search-matches)
(if backward
(doc-view-search-previous-match 1)