Mercurial > hg > xemacs-beta
diff lisp/menubar-items.el @ 506:39ccc7dd8077
[xemacs-hg @ 2001-05-05 08:39:59 by ben]
Add Page Setup for Windows, take out Pretty Print.
Implement Page Setup. Handle errors properly.
Change top/bottom margin defaults to 0.5 inches.
author | ben |
---|---|
date | Sat, 05 May 2001 08:40:06 +0000 |
parents | 7039e6323819 |
children | 5bdbc721d46a |
line wrap: on
line diff
--- a/lisp/menubar-items.el Sat May 05 08:26:04 2001 +0000 +++ b/lisp/menubar-items.el Sat May 05 08:40:06 2001 +0000 @@ -141,15 +141,18 @@ ["Save %_As..." write-file] ["Save So%_me Buffers" save-some-buffers] "-----" + ,@(if (eq system-type 'windows-nt) + '(["Page Set%_up..." generic-page-setup])) ["%_Print" generic-print-buffer :active (or (valid-specifier-tag-p 'msprinter) (and (not (eq system-type 'windows-nt)) - (fboundp 'lpr-buffer))) + (fboundp 'lpr-region))) :suffix (if put-buffer-names-in-file-menu (concat (buffer-name) "...") "...")] - ["Prett%_y-Print" ps-print-buffer-with-faces - :active (fboundp 'ps-print-buffer-with-faces) - :suffix (if put-buffer-names-in-file-menu (buffer-name) "")] + ,@(unless (eq system-type 'windows-nt) + '(["Prett%_y-Print" ps-print-buffer-with-faces + :active (fboundp 'ps-print-buffer-with-faces) + :suffix (if put-buffer-names-in-file-menu (buffer-name) "")])) "-----" ["%_Revert Buffer" revert-buffer :active (or buffer-file-name revert-buffer-function)