all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Tweak print menu options
@ 2007-04-19  3:15 Matthew Flaschen
  2007-05-03  6:41 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Flaschen @ 2007-04-19  3:15 UTC (permalink / raw)
  To: emacs

I'd like to remove the "Print Buffer" and "Print Region" menu options,
and ideally remove the word "Postscript" from the "Postscript Print
Buffer" and "Postscript Print Region" options.

Any ideas?

Matt Flaschen

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Tweak print menu options
  2007-04-19  3:15 Tweak print menu options Matthew Flaschen
@ 2007-05-03  6:41 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2007-05-03  6:41 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-03  6:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-19  3:15 Tweak print menu options Matthew Flaschen
2007-05-03  6:41 ` Kevin Rodgers

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.