Questions tagged [cl]
The cl tag has no usage guidance.
5
questions
1
vote
1answer
36 views
Matching against variable keys in `cl-case`
In cl-case clauses (though naturally not the initial keyform), keys are apparently quoted:
(let ((mark ?.))
(case mark
(mark 'mark)
(?. ?.))) ; 46 (?.)
(let ((mark ?.))
(case 'mark
(...
1
vote
2answers
166 views
Debugger entered--Lisp error: (wrong-type-argument sequencep all) cl-intersection((all magit) all)
I am trying to use magit-delta (https://github.com/dandavison/magit-delta). I am using GNU Emacs 26.3.
When I add following line ( (magit-delta-mode 1) )into the .emacs file, I get following error:
...
0
votes
1answer
28 views
Does declare-function recognize functions declared via cl-defun?
It seems that declare-function + check-declare-file do not recognize functions defined via cl-defun.
I was happy using declare-function because it comes with check-declare-file that actually checks ...
13
votes
1answer
3k views
How do I debug `Package cl is deprecated`?
While compiling an Elisp package from github, I get the
Warning: Package cl is deprecated
How do I find out what triggers it?
The specific file that triggers this is tiny and has no CL code.
I ...
2
votes
1answer
111 views
Setf and pushnew do not work on slot “options” of org-export-backend defined by cl-defstruct
Org-mode export backends are defined as instances of the cl structure org-export-backend:
(cl-defstruct (org-export-backend (:constructor org-export-create-backend)
(:copier nil))
...