GNU bug report logs -
#60645
30.0.50; interactive MODES not detected properly
Previous Next
Full log
View this message in rfc822 format
I wanted to say 8777 instead of 9819 here below, correction:
(defun my-function ()
(interactive nil '(text-mode mail-mode))
(message "Hello"))
major-mode ➜ mail-mode
My default was:
(setq read-extended-command-predicate nil)
- I can see 90 possible completions with M-X in mail-mode, WITHOUT `my-function'
- I can see 9819 possible completions with M-x in mail-mode, WITH `my-function'
when I turn it on:
(setq read-extended-command-predicate 'command-completion-default-include-p)
- I can see 90 possible completions with M-X in mail-mode, WITHOUT `my-function'
- I can see 8777 possible completions with M-x in mail-mode, WITHOUT `my-function'
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
This bug report was last modified 2 years and 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.