[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 43a9c26: Move window-point in bibtex-search-entry
From: |
Roland Winkler |
Subject: |
[Emacs-diffs] emacs-26 43a9c26: Move window-point in bibtex-search-entry |
Date: |
Thu, 24 May 2018 14:39:59 -0400 (EDT) |
branch: emacs-26
commit 43a9c268c7165094c4ec639b3a54bc3cb354bb62
Author: Roland Winkler <address@hidden>
Commit: Roland Winkler <address@hidden>
Move window-point in bibtex-search-entry
* lisp/textmodes/bibtex.el (bibtex-search-entry): Move window-point
to record found.
---
lisp/textmodes/bibtex.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index a3f9804..efab9d8 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -4105,10 +4105,10 @@ A prefix arg negates the value of
`bibtex-search-entry-globally'."
(setq buffer (pop buffer-list)))
(with-current-buffer buffer
(if (cdr (assoc-string key bibtex-reference-keys))
- ;; `bibtex-search-entry' moves point if key found
(setq found (bibtex-search-entry key)))))
(cond ((and found display)
(switch-to-buffer buffer)
+ (goto-char found)
(bibtex-reposition-window))
(found (set-buffer buffer))
(display (message "Key `%s' not found" key)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 43a9c26: Move window-point in bibtex-search-entry,
Roland Winkler <=