From: Richard M. Stallman Date: Mon, 17 Sep 2007 22:23:13 +0000 (+0000) Subject: (tex-verbatim-environments): Eliminate CL dependency. X-Git-Tag: emacs-pretest-23.0.90~10855 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=299ea3d32e572b24192e0c694b2e207cc7d4df48;p=emacs.git (tex-verbatim-environments): Eliminate CL dependency. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 45975a4d8ab..241787155af 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-09-17 David Kastrup + + * textmodes/tex-mode.el (tex-verbatim-environments): + Eliminate CL dependency. + 2007-09-17 Richard Stallman * newcomment.el (comment-add): New arg EXTRA. diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 5999586bd11..cfd5afebe4e 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -636,7 +636,7 @@ An alternative value is \" . \", if you use a font with a narrow period." (defvar tex-verbatim-environments '("verbatim" "verbatim*")) (put 'tex-verbatim-environments 'safe-local-variable - (lambda (x) (require 'cl) (every 'stringp x))) + (lambda (x) (null (delq t (mapcar 'stringp x))))) (defvar tex-font-lock-syntactic-keywords '((eval . `(,(concat "^\\\\begin *{"