From: Richard M. Stallman Date: Thu, 24 Jul 1997 04:21:34 +0000 (+0000) Subject: (tex-categorize-whitespace): Use eq, not eql. X-Git-Tag: emacs-20.1~1015 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2be5fefb8655a1349c9c6a0b03a8bf2da0df1d07;p=emacs.git (tex-categorize-whitespace): Use eq, not eql. --- 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)))