Path: utzoo!utgpu!watmath!att!dptg!rutgers!usc!bbn!oliveb!mipos3!nate@hobbes.intel.com From: nate@hobbes.intel.com (Nate Hess) Newsgroups: comp.emacs Subject: Re: Buffer-menu kill all files? Message-ID: <661@mipos3.intel.com> Date: 8 Aug 89 15:02:31 GMT References: <624@mipos3.intel.com> <669@megatek.UUCP> Sender: news@mipos3.intel.com Reply-To: woodstock@hobbes.intel.com (Nate Hess) Organization: Intel Corporation, Santa Clara, CA Lines: 23 In-reply-to: hollen@zeta.megatek.uucp (Dion Hollenbeck) In article <669@megatek.UUCP>, hollen@zeta (Dion Hollenbeck) writes: >ADDED THE FOLLOWING LINE TO THE KEYMAP DEFINITION: > (define-key Buffer-menu-mode-map "a" 'Buffer-menu-mark-all-delete) >ADDED THE FOLLOWING FUNCTION DEFINITION: [... Function deleted ...] >ADDED THE FOLLOWING TO MY .EMACS FILE SO THAT MY BUFFER MENU DEFINITIONS >WOULD BE USED INSTEAD OF THE USUAL ONES. IS MY BUFF-MENU KEYMAP BEING >DEFINED FIRST AND THE STANDARD ONE RE-DEFINING IT? That is a good guess. You might want to put the (define-key ...) in buffer-menu-mode-hook, to ensure that the keymap you're changing has been created and initialized before you modify it. --woodstock -- "What I like is when you're looking and thinking and looking and thinking...and suddenly you wake up." - Hobbes woodstock@hobbes.intel.com ...!{decwrl|hplabs!oliveb}!intelca!mipos3!nate