[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb b632038 332/449: gnorb-registry.el: Check for old
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb b632038 332/449: gnorb-registry.el: Check for old version of registry |
Date: |
Fri, 27 Nov 2020 23:16:06 -0500 (EST) |
branch: externals/gnorb
commit b632038f983e69bec8b44c90c7b05a8d4828b8b7
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
gnorb-registry.el: Check for old version of registry
* gnorb-registry.el (gnorb-refresh-usage-status): Make sure this works
for older versions of the registry, where the max-hard slot hasn't
been replaced by max-size.
---
gnorb-registry.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnorb-registry.el b/gnorb-registry.el
index bcd5adc..9220565 100644
--- a/gnorb-registry.el
+++ b/gnorb-registry.el
@@ -235,7 +235,9 @@ number of tracked messages, the number of tracked headings,
and how much of the
(let ((messages (length (gnorb-registry-tracked-messages)))
(headings (length (gnorb-registry-tracked-headings)))
(reg-size (registry-size gnus-registry-db))
- (reg-max-size (oref gnus-registry-db max-size)))
+ (reg-max-size (if (slot-exists-p gnus-registry-db 'max-size)
+ (oref gnus-registry-db max-size)
+ (oref gnus-registry-db max-hard))))
(with-current-buffer "*Gnorb Usage*"
(let ((inhibit-read-only t))
(erase-buffer)
- [elpa] externals/gnorb 160f43a 309/449: New function for returning all tracked messages, (continued)
- [elpa] externals/gnorb 160f43a 309/449: New function for returning all tracked messages, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 3f9c534 312/449: Report Gnorb email tracking usage, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb d9a1d89 313/449: Remove unused let variable, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 6fd368d 314/449: Provide more format marks in summary buffers, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 4e7039a 320/449: Various compiler-inspired improvements, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a387d85 321/449: Bump version to 1.1.0, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 2783829 322/449: Save return config for quick reply, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 538b5bd 325/449: Bump version to 1.1.1, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb d72fee7 326/449: Redundant setting of window configuration, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 86f288a 331/449: Fix matching of posting styles, pt 2, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb b632038 332/449: gnorb-registry.el: Check for old version of registry,
Stefan Monnier <=
- [elpa] externals/gnorb 894b96c 334/449: Additional guard for non-existent headings, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 73af267 340/449: Remove cruft in gnorb-registry-transition-from-props, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb bd4246d 344/449: Check for live Gnus before following a link, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 0889540 348/449: Refine matching of user email address, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb aa8d041 350/449: Mention 'all option in gnorb-org-mail-scan-scope, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 06b0e09 351/449: Update to match new version of BBDB, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 16931d7 352/449: New utility function gnorb-select-from-list, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb c8521d4 156/449: gnorb-org-mail-todos should be nil by default, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb aedf0f2 169/449: Show status of relevant todo when hinting messages, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 67edd80 239/449: Use mail-header-references, Stefan Monnier, 2020/11/27