[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interactive specs
From: |
Richard M. Stallman |
Subject: |
Re: Interactive specs |
Date: |
Sun, 11 Dec 2005 17:56:59 -0500 |
(interactive (if current-prefix-arg
(list (mark) (point))
(list (point-min) (point-max))))
It could be improved as
(interactive (list (if current-prefix-arg (region-beginning) (point-min))
(if current-prefix-arg (region-end) (point-max))))
or perhaps replace current-prefix-arg with testing transient-mark-mode.
That won't be recognized by the current definition of fix_command, or
even with my patch, but it would be recognized with my patch if we add
point-min and point-max to the list preserved_fns.
- Interactive specs, align.el, Johan Bockgård, 2005/12/09
- Re: Interactive specs, align.el, Juri Linkov, 2005/12/09
- Re: Interactive specs, align.el, Johan Bockgård, 2005/12/09
- Re: Interactive specs, align.el, Juri Linkov, 2005/12/11
- Re: Interactive specs, Juri Linkov, 2005/12/11
- Re: Interactive specs, Richard M. Stallman, 2005/12/11
- Re: Interactive specs, Stefan Monnier, 2005/12/12
- Re: Interactive specs, Richard M. Stallman, 2005/12/12