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

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

[elpa] externals/auto-overlays ff75a63 49/93: Bug-fix in auto-overlay-lo


From: Stefan Monnier
Subject: [elpa] externals/auto-overlays ff75a63 49/93: Bug-fix in auto-overlay-load-definition
Date: Mon, 14 Dec 2020 13:00:35 -0500 (EST)

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

    Bug-fix in auto-overlay-load-definition
---
 auto-overlays.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/auto-overlays.el b/auto-overlays.el
index f7b332e..a35c245 100644
--- a/auto-overlays.el
+++ b/auto-overlays.el
@@ -5,7 +5,7 @@
 ;; Copyright (C) 2005-2008 Toby Cubitt
 
 ;; Author: Toby Cubitt <toby-predictive@dr-qubit.org>
-;; Version: 0.9.5
+;; Version: 0.9.6
 ;; Keywords: automatic, overlays
 ;; URL: http://www.dr-qubit.org/emacs.php
 
@@ -30,6 +30,9 @@
 
 ;;; Change Log:
 ;;
+;; Version 0.9.6
+;; * bug-fix in `auto-overlay-load-definition'
+;;
 ;; Version 0.9.5
 ;; * bug-fixes in `auto-overlay-save-overlays' and `auto-overlay-load-overlays'
 ;;
@@ -571,7 +574,7 @@ symbol that can be used to uniquely identify REGEXP (see
     (cond
      ;; adding first entry or at start
      ((or (eq pos t) (= (length regexps) 0)
-         (and (integerp pos) (<= pos (length regexps))))
+         (and (integerp pos) (<= pos 0)))
       (auto-o-prepend-regexp set-id (list definition-id class)))
      ;; adding at end
      ((or (null pos) (and (integerp pos) (>= pos (length regexps))))



reply via email to

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