From 2be5fefb8655a1349c9c6a0b03a8bf2da0df1d07 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 24 Jul 1997 04:21:34 +0000 Subject: [PATCH] (tex-categorize-whitespace): Use eq, not eql. --- lisp/textmodes/tex-mode.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 606205404e9..509b7fd4556 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -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))) -- 2.39.5