[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: called-interactively-p, cedet, and Emacs 23.1 and earlier
From: |
Stefan Monnier |
Subject: |
Re: called-interactively-p, cedet, and Emacs 23.1 and earlier |
Date: |
Wed, 24 Mar 2010 13:51:26 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> We have recently stumbled over called-interactively-p, which is now used
> with an argument throughout the Emacs versions of the CEDET code.
> My externally maintained code I would like to have work in Emacs 22 and 23.1
> which does not support the argument, and XEmacs which is missing the feature
> completely, and is thus easy to make work in this case. Could some kind soul
> help me define some advice, or other trick I can install in older Emacs to
> allow this form to work?
How 'bout
(condition-case nil
(called-interactively-p nil)
(defmacro called-interactively-p (arg)
(case arg
(interactive `(interactive-p))
((any nil) `(called-interactively-p)))))
-- Stefan
- called-interactively-p, cedet, and Emacs 23.1 and earlier, Eric M. Ludlam, 2010/03/24
- Re: called-interactively-p, cedet, and Emacs 23.1 and earlier,
Stefan Monnier <=
- Re: called-interactively-p, cedet, and Emacs 23.1 and earlier, LluĂs, 2010/03/25
- Re: called-interactively-p, cedet, and Emacs 23.1 and earlier, Eric M. Ludlam, 2010/03/25
- Re: called-interactively-p, cedet, and Emacs 23.1 and earlier, Davis Herring, 2010/03/26
- Re: called-interactively-p, cedet, and Emacs 23.1 and earlier, Eric M. Ludlam, 2010/03/26
- Re: called-interactively-p, cedet, and Emacs 23.1 and earlier, Eric M. Ludlam, 2010/03/27
- Re: called-interactively-p, cedet, and Emacs 23.1 and earlier, Stefan Monnier, 2010/03/27
called-interactively-p, cedet, and Emacs 23.1 and earlier, Stephen J. Turnbull, 2010/03/24