branch: elpa/annotate commit a38a2ff6b48c07dcb094b3cb2709a8a7b91363a6 Author: cage <cage-invalid@invalid> Commit: cage <cage-invalid@invalid>
- updated version and documentation. --- Changelog | 14 ++++++++++++++ NEWS.org | 3 +++ annotate.el | 4 ++-- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 380978d404..a1b485adc2 100644 --- a/Changelog +++ b/Changelog @@ -76,3 +76,17 @@ available overlay. So the annotated text contained multiple overlays and an annotation was not the first we missed the last, This means, for example, that the annotation was not modifiable. +2020-03-16 Bastian Bechtold, cage + * annotate.el (annotate-create-annotation) + + - fixed managing return value of + "(get-text-property changed-face-pos 'face)" + + When finding the face of a portion of buffer, to try to get the right + positioning of the annotation, using: + + "(get-text-property changed-face-pos 'face)" + + the code assumed this function returned a symbol (the face of the + text) or nil: this is incorrect according to the documentation; the + code above can returns a symbol, a plist or even list of symbols. diff --git a/NEWS.org b/NEWS.org index d62ed59f45..3be5721c1d 100644 --- a/NEWS.org +++ b/NEWS.org @@ -106,3 +106,6 @@ - 2020-03-16 V0.6.1 Bastian Bechtold, cage :: Fixed annotation picking in 'annotate-annotate'. + +- 2020-03-25 V0.6.2 Bastian Bechtold, cage :: + Fixed bug that prevent annotation of text with complex faces definition. diff --git a/annotate.el b/annotate.el index 5dcac38a76..e3172ae7d7 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: 0.6.1 +;; Version: 0.6.2 ;; This file is NOT part of GNU Emacs. @@ -55,7 +55,7 @@ ;;;###autoload (defgroup annotate nil "Annotate files without changing them." - :version "0.6.1" + :version "0.6.2" :group 'text) ;;;###autoload