Package: emacs21-el
Version: 21.3+1-9
Severity: minor

The latex-find-indent function has a small(ish) bug where, in some
situations, it manages to pass nil to char-syntax. This causes an error
message to flash in the echo area and is, on the whole, more distracting
than harmful (it might, opssibly, affect keyboard macros, untested).

A simple, though possibly incorrect, fix is:
--- tex-mode.el-old     2005-03-04 10:23:52.000000000 +0000
+++ tex-mode.el 2005-03-04 10:22:26.000000000 +0000
@@ -1914,5 +1914,5 @@
        (t
         (let ((col (current-column)))
-          (if (not (eq (char-syntax char) ?\())
+          (if (not (and char (eq (char-syntax char) ?\()))
               ;; If the first char was not an open-paren, there's
               ;; a risk that this is really not an argument to the


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.4.26
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages emacs21-el depends on:
ii  emacs21-common                21.3+1-9   The GNU Emacs editor's shared, arc

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to