[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete-file to trash
From: |
Stefan Monnier |
Subject: |
Re: delete-file to trash |
Date: |
Mon, 24 May 2010 09:16:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> Yeah, there are commands (e.g. shell-command-on-region and clone-buffer)
> for which an omitted prefix argument means t. I was hoping we could
Yes, it's even the recommended way to detect interactive calls (as
explained in the docstring of called-interactively-p):
This function is meant for implementing advice and other
function-modifying features. Instead of using this, it is sometimes
cleaner to give your function an extra optional argument whose
`interactive' spec specifies non-nil unconditionally ("p" is a good
way to do this), or via (not (or executing-kbd-macro noninteractive)).
-- Stefan
- Re: delete-file to trash, (continued)
- Re: delete-file to trash, Stefan Monnier, 2010/05/21
- Re: delete-file to trash, Chong Yidong, 2010/05/22
- Re: delete-file to trash, David De La Harpe Golden, 2010/05/22
- Re: delete-file to trash, Stefan Monnier, 2010/05/22
- Re: delete-file to trash, Chong Yidong, 2010/05/22
- Re: delete-file to trash, David Kastrup, 2010/05/23
- Re: delete-file to trash, Leo, 2010/05/23
- Re: delete-file to trash, Stefan Monnier, 2010/05/23
- Re: delete-file to trash, Chong Yidong, 2010/05/23
- Re: delete-file to trash,
Stefan Monnier <=
- Re: delete-file to trash, Leo, 2010/05/24
- Re: delete-file to trash, Chong Yidong, 2010/05/27
- Re: delete-file to trash, Michael Albinus, 2010/05/28
- Re: delete-file to trash, Chong Yidong, 2010/05/28
- Re: delete-file to trash, Juri Linkov, 2010/05/30
- Re: delete-file to trash, Leo, 2010/05/23
- Re: delete-file to trash, Lennart Borgman, 2010/05/23
- Re: delete-file to trash, Leo, 2010/05/23
- Re: delete-file to trash, Lennart Borgman, 2010/05/23
- Re: delete-file to trash, Leo, 2010/05/23