home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!srg!srg!jwarring
- From: jwarring@violet.srg (Jeff Warrington)
- Subject: redefining keys --> Wrong type argument: commandp
- Organization: ARINC Research
- Distribution: gnu.emacs.help
- Date: 26 Aug 92 16:18:41
- Message-ID: <JWARRING.92Aug26161841@violet.srg>
- Sender: news@srg.srg.af.mil (Usenet news user)
- Lines: 25
-
- I seem to be having trouble binding keys to my own functions. I keep
- getting that error (mentioned in the Subject-line) followed by the
- name of the "function" I wrote.
-
- I can't find the answer anywhere (info-mode,example el files,printed manual)
- Here what my .emacs file looks like...
-
- ...
- (defun my-func()
- "Something special"
- (other-window)
- (rmail-get-new-mail)
- (rmail-summary))
-
- (define-key rmail-summary-mode-map "g" 'my-func)
-
- Any/All help appreciated.
- Jeff Warrington
-
- --
- blah blah blah blah blah blah blah blah
- uunet.uu.net!srg!jwarring
- blah blah blah blah blah blah blah blah
- blah blah blah blah blah blah blah blah
- Jeff Warrington
-