help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help create function alias


From: Adam
Subject: help create function alias
Date: Wed, 08 Dec 2010 15:28:58 -0000
User-agent: KNode/0.9.2

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))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]