aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/gnus/registry.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/gnus/registry.el b/lisp/gnus/registry.el
index d89ba48eabb..6684c258827 100644
--- a/lisp/gnus/registry.el
+++ b/lisp/gnus/registry.el
@@ -129,7 +129,7 @@
129 :type hash-table 129 :type hash-table
130 :documentation "The data hashtable."))) 130 :documentation "The data hashtable.")))
131 131
132(defmethod initialize-instance :BEFORE ((this registry-db) slots) 132(cl-defmethod initialize-instance :before ((this registry-db) slots)
133 "Check whether a registry object needs to be upgraded." 133 "Check whether a registry object needs to be upgraded."
134 ;; Hardcoded upgrade routines. Version 0.1 to 0.2 requires the 134 ;; Hardcoded upgrade routines. Version 0.1 to 0.2 requires the
135 ;; :max-soft slot to disappear, and the :max-hard slot to be renamed 135 ;; :max-soft slot to disappear, and the :max-hard slot to be renamed
@@ -146,7 +146,7 @@
146 (cl-remf slots :max-hard) 146 (cl-remf slots :max-hard)
147 (cl-remf slots :max-soft)))) 147 (cl-remf slots :max-soft))))
148 148
149(defmethod initialize-instance :AFTER ((this registry-db) slots) 149(cl-defmethod initialize-instance :after ((this registry-db) slots)
150 "Set value of data slot of THIS after initialization." 150 "Set value of data slot of THIS after initialization."
151 (with-slots (data tracker) this 151 (with-slots (data tracker) this
152 (unless (member :data slots) 152 (unless (member :data slots)