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

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

Re: Newbie: alias a function name


From: address@hidden
Subject: Re: Newbie: alias a function name
Date: Fri, 4 Jan 2008 14:04:47 -0800 (PST)
User-agent: G2/1.0

never mind -- as usual, i found it after posting the question...

(defalias 'new-name 'old-name)

sorry,
matt

On Jan 4, 3:59 pm, "Matthew.Pet...@gmail.com"
<Matthew.Pet...@gmail.com> wrote:
> Hi,
>
> I would like to redefine:
>
> M-x toggle-truncate-lines
>
> as
>
> M-x ww
>
> Now, I've seen how to map keys to functions, but I haven't seen how to
> alias a function name like toggle-truncate-lines to another name.  I'm
> sure it's simple, but all I can find info on is key-binding.  Can
> someone point me to help on this?
>
> thanks,
> matt


reply via email to

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