]> git.eshelyaron.com Git - emacs.git/commitdiff
(tex-categorize-whitespace): Use eq, not eql.
authorRichard M. Stallman <rms@gnu.org>
Thu, 24 Jul 1997 04:21:34 +0000 (04:21 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 24 Jul 1997 04:21:34 +0000 (04:21 +0000)
lisp/textmodes/tex-mode.el

index 606205404e9a52a45ad8eacdae1df7ce99338a92..509b7fd4556dc1fa3802def1b81238397d225bae 100644 (file)
@@ -723,10 +723,10 @@ Entering SliTeX mode runs the hook `text-mode-hook', then the hook
     (while not-finished
       (cond ((looking-at "[ \t]+")
             (goto-char (match-end 0))
-            (if (eql category 'null)
+            (if (eq category 'null)
                 (setq category 'space)))
            ((looking-at "\n")
-            (cond ((eql category 'newline)
+            (cond ((eq category 'newline)
                    (setq category 'par)
                    (setq not-finished nil))
                   (t
@@ -738,7 +738,7 @@ Entering SliTeX mode runs the hook `text-mode-hook', then the hook
            (t
             (setq not-finished nil))))
     (skip-chars-forward " \t\n\f")
-    (if (eql category 'newline)
+    (if (eq category 'newline)
        'space                          ;TeX doesn't distinguish
       category)))