all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* help create function alias
@ 2010-09-20 10:43 Adam
  2010-09-20 10:57 ` Marc Mientki
  2010-09-20 15:35 ` Stefan Monnier
  0 siblings, 2 replies; 15+ messages in thread
From: Adam @ 2010-09-20 10:43 UTC (permalink / raw)
  To: help-gnu-emacs

I use (insert-date) often, but rather than a hotkey I'd 
prefer M-x id  or  ALT-x id   

So in .emacs  I included the following, which I thought 
I had seen running earlier, but may indeed be problematic. 

Basically its an (id) alias of the (insert-date) function. 
Can anyone help or suggest where I've gone wrong ? 

(defun id () 
   "insert date" 
   (interactive "P") 
   (insert-date t))




^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-12-09 21:35 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-20 10:43 help create function alias Adam
2010-09-20 10:57 ` Marc Mientki
2010-09-20 11:46   ` Adam
     [not found]     ` <i77ma9$h97$1@lust.ihug.co.nz>
2010-09-20 14:11       ` Pascal J. Bourguignon
2010-09-20 19:54         ` Adam
2010-09-20 21:11           ` Andreas Politz
2010-09-20 22:02             ` Adam
2010-09-21  1:56           ` Barry Margolin
2010-09-21  2:19           ` Pascal J. Bourguignon
2010-09-20 15:35 ` Stefan Monnier
     [not found]   ` <i78cop$ts0$1@lust.ihug.co.nz>
2010-09-20 22:19     ` Stefan Monnier
2010-09-20 22:41       ` Adam
2010-09-22  2:07   ` Xah Lee
2010-09-24  0:11     ` Stefan Monnier
2010-12-09 21:35     ` Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.