[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
printing.el again
From: |
Stefan |
Subject: |
printing.el again |
Date: |
Sun, 14 Nov 2004 00:59:38 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) |
In your merge of the two menus, why do you still bother with
(pr-:visible (if (eq ps-print-emacs-type 'emacs)
:visible ; GNU Emacs
:included))
since on Emacs, :visible and :included are synonyms anyway.
Also you now do
(let (...
pr-:help)
(if (eq ps-print-emacs-type 'emacs)
(defalias 'pr-:help #'(lambda (text) (list :help text))) ; GNU Emacs
(defalias 'pr-:help 'ignore)) ; XEmacs
which does not do what you think. The `let' binding of the `pr-:help'
variable has *no effect* on the `pr-:help' function (the two name spaces are
separate). I.e. the pr-:help function ends up defined globally anyway so
you had better define it at toplevel so it's less misleading (or otherwise,
you'd want to use CL's `flet' if you want to locally define a function).
Stefan
- printing.el again,
Stefan <=
- Re: printing.el again, Vinicius Jose Latorre, 2004/11/14
- Re: printing.el again, Stefan Monnier, 2004/11/14
- Re: printing.el again, Vinicius Jose Latorre, 2004/11/15
- Re: printing.el again, Stefan Monnier, 2004/11/15
- Re: printing.el again, Vinicius Jose Latorre, 2004/11/15
- Re: printing.el again, Stefan, 2004/11/15
- Re: printing.el again, Luc Teirlinck, 2004/11/15
- Re: printing.el again, Ralf Angeli, 2004/11/16
- Re: printing.el again, Stefan Monnier, 2004/11/16
- Re: printing.el again, Vinicius Jose Latorre, 2004/11/17