]> git.eshelyaron.com Git - emacs.git/commitdiff
(tex-verbatim-environments): Eliminate CL dependency.
authorRichard M. Stallman <rms@gnu.org>
Mon, 17 Sep 2007 22:23:13 +0000 (22:23 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 17 Sep 2007 22:23:13 +0000 (22:23 +0000)
lisp/ChangeLog
lisp/textmodes/tex-mode.el

index 45975a4d8ab36e3650470707cb15e6c94166cbb9..241787155af73e9d06586da2b1663f53d061c0d6 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-17  David Kastrup  <dak@gnu.org>
+
+       * textmodes/tex-mode.el (tex-verbatim-environments):
+       Eliminate CL dependency.
+
 2007-09-17  Richard Stallman  <rms@gnu.org>
 
        * newcomment.el (comment-add): New arg EXTRA.
index 5999586bd1130508c293b0a5364aa5973070261d..cfd5afebe4ee0d0e2e4eb19bcc27610aac1c930c 100644 (file)
@@ -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 *{"