home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!mcsun!sunic!kth.se!news.kth.se!RICHARD
- From: RICHARD@CLYDE.ttt.kth.se
- Subject: Re: redefining keys --> Wrong type argument: commandp
- In-Reply-To: jwarring@violet.srg's message of 26 Aug 92 14:18:41 GMT
- Message-ID: <RICHARD.92Aug27175418@CLYDE.ttt.kth.se>
- Sender: usenet@kth.se (Usenet)
- Nntp-Posting-Host: clyde.ttt.kth.se
- Organization: Department of TeleTransmission Theory
- References: <JWARRING.92Aug26161841@violet.srg>
- Distribution: gnu.emacs.help
- Date: Thu, 27 Aug 1992 16:54:18 GMT
- Lines: 21
-
- In article <JWARRING.92Aug26161841@violet.srg> jwarring@violet.srg (Jeff Warrington) writes:
-
-
- (defun my-func()
- "Something special"
- (interactive) ;; <--- YOU NEED THIS TO MAKE A COMMAND OF
- A FUNCTION
- (other-window)
- (rmail-get-new-mail)
- (rmail-summary))
-
- (define-key rmail-summary-mode-map "g" 'my-func)
-
- Now it will work.
- --
- !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++!
- ! Richard Levitte, System manager ! tel: int+46-8-790 64 23 !
- ! Royal Institute of Technology ! fax: int+46-8-791 76 54 !
- ! Department of Teletransmition Theory ! Internet: richard@ttt.kth.se !
- ! S-100 44 Stockholm, Sweden ! !
- !---------------------------------------------------------------------------!
-