[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tweak print menu options

From: Kevin Rodgers
Subject: Re: Tweak print menu options
Date: Thu, 03 May 2007 00:41:40 -0600
User-agent: Thunderbird (Macintosh/20070221)

Matthew Flaschen wrote:
I'd like to remove the "Print Buffer" and "Print Region" menu options,

(global-unset-key [menu-bar file print-buffer])
(global-unset-key [menu-bar file print-region])

and ideally remove the word "Postscript" from the "Postscript Print
Buffer" and "Postscript Print Region" options.

(define-key menu-bar-file-menu [ps-print-region-faces]
  '(menu-item "Print Region" ps-print-region-with-faces
              :enable mark-active
              :help "Pretty-print marked region to PostScript printer"))
(define-key menu-bar-file-menu [ps-print-buffer-faces]
  '(menu-item "Print Buffer" ps-print-buffer-with-faces
              :enable (menu-bar-menu-frame-live-and-visible-p)
              :help "Pretty-print current buffer to PostScript printer"))

Kevin Rodgers
Denver, Colorado, USA

reply via email to

[Prev in Thread] Current Thread [Next in Thread]