Mercurial > emacs
changeset 18931:43b52e6a35c2
(tex-categorize-whitespace): Use eq, not eql.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 24 Jul 1997 04:21:34 +0000 |
parents | 0a32de9b6387 |
children | aff82880eaf1 |
files | lisp/textmodes/tex-mode.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Thu Jul 24 04:06:12 1997 +0000 +++ b/lisp/textmodes/tex-mode.el Thu Jul 24 04:21:34 1997 +0000 @@ -723,10 +723,10 @@ (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 @@ (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)))