[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DEFUN in Emacs's C-code. Can I give "prompt" an arbitrary lisp expre
From: |
Stefan Monnier |
Subject: |
Re: DEFUN in Emacs's C-code. Can I give "prompt" an arbitrary lisp expression? |
Date: |
Thu, 14 Oct 2004 20:46:47 GMT |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
> Why do I want this? Because I often want to change names like
> "longbuffername.el<2>" to "longbuffername.el", and that much typing is
Try uniquify.
> [OK, I'd need to think about the P on the end, but that's inessential for
> now]. Can I do this directly in emacs/src/buffer.c, somehow?
No.
I think that interactive built-in functions are generally a bad idea for
this reason.
Stefan