emacs-devel
[Top][All Lists]
Advanced

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

Re: Ordering of command completions


From: Lars Magne Ingebrigtsen
Subject: Re: Ordering of command completions
Date: Sun, 07 Dec 2014 18:42:19 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> Why do you need to replace interactive?  There is already a fitting
> place: declare.

That's a good idea.

(defun message-send-and-exit ()
  "Doc string."
  (declare (mode message-mode))
  (interactive "P")
  ...)

I assume Emacs ignore `declare' statements it doesn't know about?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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