[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate dbdd2a4663 2/2: Merge pull request #157 from cage
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate dbdd2a4663 2/2: Merge pull request #157 from cage2/replaced-end-line-pos |
Date: |
Wed, 30 Aug 2023 12:59:06 -0400 (EDT) |
branch: elpa/annotate
commit dbdd2a4663c49581a9bca77d4ea08e6eb98dbdcc
Merge: dd2760d172 bf42792154
Author: cage2 <1257703+cage2@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Merge pull request #157 from cage2/replaced-end-line-pos
used line-end-position.
---
Changelog | 10 ++++++++++
NEWS.org | 4 ++++
annotate.el | 8 +++-----
3 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/Changelog b/Changelog
index 1df8c26847..23c390344a 100644
--- a/Changelog
+++ b/Changelog
@@ -1,5 +1,14 @@
+2023-07-09 cage
+
+ * README.org:
+
+ - fixed README's layout.
+ Merge pull request #155 from cage2/save-db-before-query
+
2023-07-06 cage
+ * Changelog,
+ * NEWS.org,
* README.org,
* annotate.el:
@@ -7,6 +16,7 @@
executing the search query;
- increased version number.
- made cosmetic fix to README, also corrected a wrong phrase.
+ - updated Changelog and NEWS files.
2023-04-01 cage2
diff --git a/NEWS.org b/NEWS.org
index 7ebbeef586..12b4abb09c 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -1,3 +1,7 @@
+- 2023-08-09 v2.0.2 cage ::
+
+ This version replaced a procedure with a call to an equivalent library
function.
+
- 2023-07-06 v2.0.1 cage ::
This version ensures that querying the database will search in all the
annotated buffers on the current Emacs session.
diff --git a/annotate.el b/annotate.el
index f12752bcad..0f2cd24048 100644
--- a/annotate.el
+++ b/annotate.el
@@ -7,7 +7,7 @@
;; Maintainer: Bastian Bechtold <bastibe.dev@mailbox.org>, cage
<cage-dev@twistfold.it>
;; URL: https://github.com/bastibe/annotate.el
;; Created: 2015-06-10
-;; Version: 2.0.1
+;; Version: 2.0.2
;; This file is NOT part of GNU Emacs.
@@ -58,7 +58,7 @@
;;;###autoload
(defgroup annotate nil
"Annotate files without changing them."
- :version "2.0.1"
+ :version "2.0.2"
:group 'text)
(defvar annotate-mode-map
@@ -406,9 +406,7 @@ See `annotate-blacklist-major-mode'."
(defun annotate-end-of-line-pos ()
"Get the position of the end of line and rewind the point's
position (so that it is unchanged after this function is called)."
- (save-excursion
- (end-of-line)
- (point)))
+ (line-end-position))
(defun annotate-beginning-of-line-pos ()
"Get the position of the beginning of line and rewind the point's
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/annotate dbdd2a4663 2/2: Merge pull request #157 from cage2/replaced-end-line-pos,
ELPA Syncer <=