home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!wupost!psuvax1!atlantis.psu.edu!news
- From: TTN@ECL.PSU.EDU (Thien-Thi Nguyen)
- Subject: keymap defs -- using lambda expressions
- Message-ID: <hyk1H?8o3c@atlantis.psu.edu>
- Sender: news@atlantis.psu.edu (Usenet)
- Organization: Penn State Engineering Computer Lab
- Date: Sun, 24 Jan 93 20:28:49 GMT
- X-News-Reader: VMS NEWS 1.24
- Lines: 7
-
- (define-key some-mode-map '(lambda () (kill-buffer (current-buffer))))
-
- doesn't work. could someone explain why not and also suggest the
- correct way to do this (w/o having to use a defun)?
-
- thanks,
- Thi
-