branch: elpa/annotate commit e37820134f4d2d0d532536d5e37a65c7e01ce9e6 Author: cage <cage@invalid> Commit: cage <cage@invalid>
- updated NEWS, Changelog and version number. --- Changelog | 14 ++++++++++++++ NEWS.org | 5 +++++ annotate.el | 4 ++-- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index c5c0849036..e7434ad668 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,17 @@ +021-04-30 cage + + * annotate.el: + + - prevented calling 'annotate--remove-annotation-property' on a + narrowed buffer. + + For some reason (perhaps related to font-locking?) comment-region + command was calling this function, the fact is that the command + narrows the buffer before actually adding comments, so the call to + `point' inside the annotate--remove-annotation-property's body may + fall outside of the buffer raising an error. This patch prevents + calling this function on narrowed buffer. + 2021-04-23 cage * annotate.el: diff --git a/NEWS.org b/NEWS.org index 0b00ae34b4..eb3d0be647 100644 --- a/NEWS.org +++ b/NEWS.org @@ -226,3 +226,8 @@ Finally annotating read-only buffers (especially deleting annotations) should works without problems. + +- 2021-05-05 V1.2.1 Bastian Bechtold, cage :: + + This version fixes a bug that prevented command like + 'comment-region' to works properly when annotate-mode was active. diff --git a/annotate.el b/annotate.el index 162e418b1a..6ff3fc2ad1 100644 --- a/annotate.el +++ b/annotate.el @@ -7,7 +7,7 @@ ;; Maintainer: Bastian Bechtold ;; URL: https://github.com/bastibe/annotate.el ;; Created: 2015-06-10 -;; Version: 1.2.0 +;; Version: 1.2.1 ;; This file is NOT part of GNU Emacs. @@ -58,7 +58,7 @@ ;;;###autoload (defgroup annotate nil "Annotate files without changing them." - :version "1.2.0" + :version "1.2.1" :group 'text) ;;;###autoload