* bug#49561: 28.0.50; (declare (modes ...)) does not have an effect
@ 2021-07-14 17:13 Daniel Mendler
2021-07-14 17:39 ` Daniel Mendler
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Mendler @ 2021-07-14 17:13 UTC (permalink / raw)
To: 49561; +Cc: Lars Ingebrigtsen
Has this feature already been implemented?
Test case:
(defun test-cmd1 () ; works
(interactive nil test-mode))
(command-modes #'test-cmd1) ; evaluates to (test-mode)
(defun test-cmd2 () ; does not work
(interactive)
(declare (modes test-mode)))
(command-modes #'test-cmd2) ; evaluates to nil
In GNU Emacs 28.0.50 (build 28, x86_64-pc-linux-gnu, GTK+ Version
3.24.5, cairo version 1.16.0)
of 2021-07-14 built on projects
Repository revision: 42b8edfdb9096af7010609fd8890c76bc3918873
Repository branch: HEAD
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-14 17:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-14 17:13 bug#49561: 28.0.50; (declare (modes ...)) does not have an effect Daniel Mendler
2021-07-14 17:39 ` Daniel Mendler
2021-07-14 17:41 ` Daniel Mendler
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.