emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scratch/command 064f146 1/2: Change command to interactive ... modes


From: Jose A. Ortega Ruiz
Subject: Re: scratch/command 064f146 1/2: Change command to interactive ... modes
Date: Sun, 14 Feb 2021 20:37:56 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

given the 97% statistic, would it be possible to also have a
buffer-local default-interactive-mode (or some declaration at global
scope) setting a default value for the third argument of (interactive x)
when not given?

that way i could just write at the top of my jao-awful-mode.el package:

   (setq-local default-interactive-mode 'jao-awful-mode)

and use only backwards compatible interactive forms in the rest of the
code.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]