Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
da99b369
Commit
da99b369
authored
Nov 16, 2007
by
Dan Nicolaescu
Browse files
* doc-view.el (doc-view-search-backward, doc-view-search): Fix
assignment to free variable bug.
parent
de299ed7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/doc-view.el
lisp/doc-view.el
+2
-2
No files found.
lisp/ChangeLog
View file @
da99b369
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.
...
...
lisp/doc-view.el
View file @
da99b369
...
...
@@ -787,7 +787,7 @@ the pagenumber and CONTEXTS are all lines of text containing a match."
"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.
...
...
@@ -795,7 +795,7 @@ If the current document hasn't been transformed to plain text
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment