[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printing.el again
From: |
Stefan Monnier |
Subject: |
Re: printing.el again |
Date: |
Sun, 14 Nov 2004 14:20:41 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
> Hummm, indeed, but this:
> (let (...
> (pr-:help (if (eq ps-print-emacs-type 'emacs)
> #'(lambda (text) (list :help text)) ; GNU Emacs
> 'ignore))) ; XEmacs
> ......
> ,@(funcall pr-:help ...)
> Will do the work and pr-:help will be local.
Yes, that's another solution. I find CL's `flet' much more elegant, tho.
BTW, if you use (featurep 'xemacs) for the test, Emacs-21 will optimize the
test away (since the resulting elc file can't be run on XEmacs anyway).
Here it doesn't really matter, but it is sometimes very handy since it
ends up getting rid of spurious warnings about XEmacs-specific code.
Stefan
- printing.el again, Stefan, 2004/11/14
- Re: printing.el again, Vinicius Jose Latorre, 2004/11/14
- Re: printing.el again,
Stefan Monnier <=
- 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
- Re: printing.el again, Stefan Monnier, 2004/11/18
- Re: printing.el again, Vinicius Jose Latorre, 2004/11/18