[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auto-overlays bcc73ad 12/93: Bug fix to do with updatin
From: |
Stefan Monnier |
Subject: |
[elpa] externals/auto-overlays bcc73ad 12/93: Bug fix to do with updating exclusive overlays. |
Date: |
Mon, 14 Dec 2020 13:00:28 -0500 (EST) |
branch: externals/auto-overlays
commit bcc73ad0c9f6dd989a4cf2aada5d3ad127359f70
Author: Toby Cubitt <toby-predictive@dr-qubit.org>
Commit: tsc25 <toby-predictive@dr-qubit.org>
Bug fix to do with updating exclusive overlays.
---
auto-overlays.el | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/auto-overlays.el b/auto-overlays.el
index 058ce1d..c3475ab 100644
--- a/auto-overlays.el
+++ b/auto-overlays.el
@@ -925,10 +925,14 @@ The FILE should be generated by
`auto-overlay-save-overlays'."
(list (lambda (parent)
(null (overlay-get parent 'inactive)))
'parent)
- (list (lambda (pri new) (or (null pri) (< pri new)))
- 'priority new-priority))
- 'within)) ; FIXME: this is necessary in some cases, but might
- ; muck up other cases - check
+ (list (lambda (set-id entry-id subentry-id new-pri)
+ (let ((pri (cdr (assq
+ 'priority
+ (auto-o-entry-props
+ set-id entry-id subentry-id)))))
+ (or (null pri) (< pri new-pri))))
+ '(set-id entry-id subentry-id)
+ (list new-priority)))))
;; call appropriate suicide function for each match overlay in list
(dolist (o overlay-list) (funcall (auto-o-suicide-function o) o)))
- [elpa] externals/auto-overlays 878dfb6 28/93: More narrowing bugs., (continued)
- [elpa] externals/auto-overlays 878dfb6 28/93: More narrowing bugs., Stefan Monnier, 2020/12/14
- [elpa] externals/auto-overlays 262dfd9 21/93: Brought docs up to date with latest auto-overlays.el changes., Stefan Monnier, 2020/12/14
- [elpa] externals/auto-overlays 8d0dd07 26/93: Fixed bug due to narrowed buffer; improved update scheduling to avoid duplicate parses., Stefan Monnier, 2020/12/14
- [elpa] externals/auto-overlays bf24ebe 37/93: auto-overlay-unload functions now return regexp/definition being unloadewd., Stefan Monnier, 2020/12/14
- [elpa] externals/auto-overlays 4d21f05 41/93: delete trailing whitespace, Stefan Monnier, 2020/12/14
- [elpa] externals/auto-overlays 6fb30c5 54/93: Compiler warning supression, and trivial code cleanup., Stefan Monnier, 2020/12/14
- [elpa] externals/auto-overlays 3b6c32d 76/93: Implement auto-overlay regexp :exclusive property., Stefan Monnier, 2020/12/14
- [elpa] externals/auto-overlays 4013238 80/93: Fix bug in match :exclusive processing., Stefan Monnier, 2020/12/14
- [elpa] externals/auto-overlays 2b02fa5 83/93: Allow single symbols in auto-overlays-in property tests as a convenience., Stefan Monnier, 2020/12/14
- [elpa] externals/auto-overlays 3fa9ac1 86/93: Fix bugs caused by auto-overlays-in no longer sorting result list., Stefan Monnier, 2020/12/14
- [elpa] externals/auto-overlays bcc73ad 12/93: Bug fix to do with updating exclusive overlays.,
Stefan Monnier <=