all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* printing.el again
@ 2004-11-14  5:59 Stefan
  2004-11-14 15:29 ` Vinicius Jose Latorre
  0 siblings, 1 reply; 16+ messages in thread
From: Stefan @ 2004-11-14  5:59 UTC (permalink / raw)



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

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

end of thread, other threads:[~2004-11-19 20:04 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-14  5:59 printing.el again Stefan
2004-11-14 15:29 ` Vinicius Jose Latorre
2004-11-14 19:20   ` Stefan Monnier
2004-11-15 20:03     ` Vinicius Jose Latorre
2004-11-15 20:47       ` Stefan Monnier
2004-11-16  0:55         ` Vinicius Jose Latorre
2004-11-16  1:29           ` Stefan
2004-11-16  1:36             ` Luc Teirlinck
2004-11-16 14:47             ` Ralf Angeli
2004-11-16 16:51               ` Stefan Monnier
2004-11-18  1:53             ` Vinicius Jose Latorre
2004-11-18 16:30               ` Stefan Monnier
2004-11-18 22:44                 ` Vinicius Jose Latorre
2004-11-18 23:31                   ` Stefan Monnier
2004-11-19 20:04                   ` Richard Stallman
2004-11-17  5:03       ` Richard Stallman

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.