From: "Matthew.Pettis@gmail.com" <Matthew.Pettis@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Newbie: alias a function name
Date: Fri, 4 Jan 2008 13:59:23 -0800 (PST) [thread overview]
Message-ID: <5424779f-fb2e-4a06-b814-fbae934dc2e0@h11g2000prf.googlegroups.com> (raw)
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
next reply other threads:[~2008-01-04 21:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-04 21:59 Matthew.Pettis [this message]
2008-01-04 22:04 ` Newbie: alias a function name Matthew.Pettis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5424779f-fb2e-4a06-b814-fbae934dc2e0@h11g2000prf.googlegroups.com \
--to=matthew.pettis@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.