emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auto-overlays 8859d17 35/93: Minor bug fixes.


From: Stefan Monnier
Subject: [elpa] externals/auto-overlays 8859d17 35/93: Minor bug fixes.
Date: Mon, 14 Dec 2020 13:00:32 -0500 (EST)

branch: externals/auto-overlays
commit 8859d17e4c800c534adba373927d8944b013478a
Author: Toby Cubitt <toby-predictive@dr-qubit.org>
Commit: tsc25 <toby-predictive@dr-qubit.org>

    Minor bug fixes.
---
 auto-overlay-self.el | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/auto-overlay-self.el b/auto-overlay-self.el
index c34f4cc..174d6ad 100644
--- a/auto-overlay-self.el
+++ b/auto-overlay-self.el
@@ -5,7 +5,7 @@
 ;; Copyright (C) 2005 2006 Toby Cubitt
 
 ;; Author: Toby Cubitt <toby-predictive@dr-qubit.org>
-;; Version: 0.2.6
+;; Version: 0.2.7
 ;; Keywords: automatic, overlays, self
 ;; URL: http://www.dr-qubit.org/emacs.php
 
@@ -29,6 +29,11 @@
 
 ;;; Change Log:
 ;;
+;; Version 0.2.7
+;; * fixed bug in `auto-o-parse-self-match' which caused a matched self match
+;;   to have null 'parent property if a new self match was created inside an
+;;   existing self overlay
+;;
 ;; Version 0.2.6
 ;; * set overlay properties straight after creation in `auto-o-make-self',
 ;;   rather than leaving it to `auto-overlay-update', in case matching causes
@@ -143,8 +148,9 @@
                       (when overlay-list
                         (overlay-get (overlay-get (car overlay-list) 'start)
                                      'delim-start))))
-         ;; match existing one with the new match
-         (auto-o-match-overlay o nil o-match 'no-props))
+         ;; match end of existing one with the new match, protecting its old
+         ;; end match which is now matched with start of new one
+         (auto-o-match-overlay o nil o-match 'no-props nil 'protect-match))
       
       ;; return newly created overlay
       o-new))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]