unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* tex-mode.el dependency on (cl) every?
@ 2007-09-17 13:04 David Kastrup
  2007-09-17 14:07 ` David Kastrup
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: David Kastrup @ 2007-09-17 13:04 UTC (permalink / raw)
  To: emacs-devel


I see that we have

+(put 'tex-verbatim-environments 'safe-local-variable
+     (lambda (x) (require 'cl) (every 'stringp x)))

Couldn't we rather use the equivalent
  (lambda (x) (null (delq t (mapcar 'stringp x))))
instead?

And why is this needed at all?  tex-verbatim-environments is only ever
passed to regexp-opt and member, so any old value will be _safe_.  So
it should be ok just to do

(put 'tex-verbatim-environments 'safe-local-variable t)

shouldn't it?

-- 
David Kastrup

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

end of thread, other threads:[~2007-09-17 22:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-17 13:04 tex-mode.el dependency on (cl) every? David Kastrup
2007-09-17 14:07 ` David Kastrup
2007-09-17 14:17 ` Stefan Monnier
2007-09-17 14:36   ` David Kastrup
2007-09-17 22:24 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).