[ESS] Emacs for former XEmacs users

Rodney Sparapani rsparapa at mcw.edu
Tue Jun 12 17:42:47 CEST 2012


On 06/12/2012 09:57 AM, Rodney Sparapani wrote:
>
> Thank you Stephen (it only took me a year to circle back to
> this ;o). However, I can't seem to make this work. Here's my
> take on what the docs say that I should do:
>
> (define-key global-map [tool-bar print-buffer]
> '(menu-item "Print Buffer"
> ps-print-buffer-with-faces
> :image (image :type xpm :file "print.xpm")))
>
> However, that has no effect what-so-ever. So, here's my workaround...
>
> (defun print-buffer ()
> "Hacky way to over-ride default print method"
> (interactive)
> (ps-print-buffer-with-faces))
>
> Rodney

Oh, and just to be clear, make sure that you do this first...

(require 'ps-print)

Rodney



More information about the ESS-help mailing list