[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50199: 28.0.50; command-modes doesn't return modes in the proper for
From: |
Lars Ingebrigtsen |
Subject: |
bug#50199: 28.0.50; command-modes doesn't return modes in the proper format |
Date: |
Wed, 25 Aug 2021 16:14:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Ash <ext0l@catgirl.ai> writes:
> (defun bug--with-prop () (interactive) ())
> (put 'bug--with-prop 'command-modes '('emacs-lisp-mode))
The syntax is:
(defun bug--with-interactive ()
(interactive "P" emacs-lisp-mode)
())
The mode symbol isn't evaluated.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no