[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 0ff58f6 12/12: Partially revert the defmethod->cl-d
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 0ff58f6 12/12: Partially revert the defmethod->cl-defmethod change in registry.el |
Date: |
Fri, 12 Feb 2016 06:15:24 +0000 |
branch: master
commit 0ff58f69651faa1aa36ff45d4012a19938642412
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Partially revert the defmethod->cl-defmethod change in registry.el
* lisp/gnus/registry.el (initialize-instance): Use defmethod,
since cl-defmethod doesn't work with :after.
(initialize-instance): Ditto, but with :before.
---
lisp/gnus/registry.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/gnus/registry.el b/lisp/gnus/registry.el
index 9182920..d89ba48 100644
--- a/lisp/gnus/registry.el
+++ b/lisp/gnus/registry.el
@@ -129,7 +129,7 @@
:type hash-table
:documentation "The data hashtable.")))
-(cl-defmethod initialize-instance :BEFORE ((this registry-db) slots)
+(defmethod initialize-instance :BEFORE ((this registry-db) slots)
"Check whether a registry object needs to be upgraded."
;; Hardcoded upgrade routines. Version 0.1 to 0.2 requires the
;; :max-soft slot to disappear, and the :max-hard slot to be renamed
@@ -146,7 +146,7 @@
(cl-remf slots :max-hard)
(cl-remf slots :max-soft))))
-(cl-defmethod initialize-instance :AFTER ((this registry-db) slots)
+(defmethod initialize-instance :AFTER ((this registry-db) slots)
"Set value of data slot of THIS after initialization."
(with-slots (data tracker) this
(unless (member :data slots)
- [Emacs-diffs] master a8480fb 02/12: Avoid the obsoleted defmethod, (continued)
- [Emacs-diffs] master a8480fb 02/12: Avoid the obsoleted defmethod, Lars Ingebrigtsen, 2016/02/12
- [Emacs-diffs] master 050f14e 03/12: Fix compilation warning in gnus-start, Lars Ingebrigtsen, 2016/02/12
- [Emacs-diffs] master ae6ad47 04/12: Avoid using mm-make-temp-file, Lars Ingebrigtsen, 2016/02/12
- [Emacs-diffs] master eefef28 05/12: Fix missed translation in a previous commit, Lars Ingebrigtsen, 2016/02/12
- [Emacs-diffs] master 7c162e7 06/12: Don't use the obsolete char-valid-p function, Lars Ingebrigtsen, 2016/02/12
- [Emacs-diffs] master 6da2540 07/12: * lisp/gnus/mailcap.el: Remove usage of mailcap-delete-duplicates., Lars Ingebrigtsen, 2016/02/12
- [Emacs-diffs] master b721d0a 08/12: Avoid defvarring prefix-less variable, Lars Ingebrigtsen, 2016/02/12
- [Emacs-diffs] master b78a759 09/12: Make sieve-manage require sasl, Lars Ingebrigtsen, 2016/02/12
- [Emacs-diffs] master ba9c534 10/12: Use cl-defmethod in registry.el, Lars Ingebrigtsen, 2016/02/12
- [Emacs-diffs] master 210a895 11/12: Avoid obsolete function in plstore, Lars Ingebrigtsen, 2016/02/12
- [Emacs-diffs] master 0ff58f6 12/12: Partially revert the defmethod->cl-defmethod change in registry.el,
Lars Ingebrigtsen <=