diff options
author | Thierry Volpiatto <thievol@posteo.net> | 2021-03-14 20:23:38 +0100 |
---|---|---|
committer | Thierry Volpiatto <thievol@posteo.net> | 2021-03-14 20:23:38 +0100 |
commit | b2824f7550c6fda0fdddcc197c3a41a147ffaab2 (patch) | |
tree | a04f6fcfc3a9ed36436314536d20aa5ff2c562cf /helm-files.el | |
parent | 35c0047c134f24686fa1209463313a4022df7461 (diff) |
Fix obsolete usage of defgeneric, defmetod etc...
Rename all defmethods to cl-defmethod, same for defgeneric, call-next-method
cl-generic-p.
Fix as well cl-type-case generic pred.
Don't use :primary keyword in cl-defmethods.
Finally use pcase-let instead of cl-multiple-value-bind as this one keep
sending warnings even with var marked as unused (_var).
Diffstat (limited to 'helm-files.el')
-rw-r--r-- | helm-files.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-files.el b/helm-files.el index 24c4b532..edab4847 100644 --- a/helm-files.el +++ b/helm-files.el @@ -5463,7 +5463,7 @@ Use FD as backend." "Class to define a source in `helm-browse-project' handling non VC handled directories.") -(defmethod helm--setup-source :after ((source helm-browse-project-override-inheritor)) +(cl-defmethod helm--setup-source :after ((source helm-browse-project-override-inheritor)) (let ((actions (slot-value source 'action))) (setf (slot-value source 'action) (helm-append-at-nth |