[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master a185f2af96 2/2: Tweak how bibtex-mark-entry places point
From: |
Lars Ingebrigtsen |
Subject: |
master a185f2af96 2/2: Tweak how bibtex-mark-entry places point |
Date: |
Sun, 6 Mar 2022 21:53:27 -0500 (EST) |
branch: master
commit a185f2af968ecf1cc56c463dd89ba906a99807e4
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Tweak how bibtex-mark-entry places point
* lisp/textmodes/bibtex.el (bibtex-mark-entry): Make `C-M-h'
behave like in other modes (with point at the beginning of the
region) (bug#4717).
---
lisp/textmodes/bibtex.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index ab471db3dd..ab6a907c52 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -4119,11 +4119,11 @@ Optional arg POS is the position of the BibTeX entry to
use."
(goto-char pnt)))))
(defun bibtex-mark-entry ()
- "Put mark at beginning, point at end of current BibTeX entry.
+ "Put mark at end, point at beginning of current BibTeX entry.
Activate mark in Transient Mark mode."
(interactive)
- (push-mark (bibtex-beginning-of-entry) t t)
- (bibtex-end-of-entry))
+ (push-mark (bibtex-end-of-entry) t t)
+ (bibtex-beginning-of-entry))
(defun bibtex-count-entries (&optional count-string-entries)
"Count number of entries in current buffer or region.