GNU bug report logs - #50199
28.0.50; command-modes doesn't return modes in the proper format

Previous Next

Package: emacs;

Reported by: Ash <ext0l <at> catgirl.ai>

Date: Wed, 25 Aug 2021 14:07:02 UTC

Severity: normal

Tags: notabug

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Ash <ext0l <at> catgirl.ai>
Cc: 50199 <at> debbugs.gnu.org
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
Ash <ext0l <at> 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




This bug report was last modified 3 years and 327 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.