GNU bug report logs - #6080
Behaviour of `char-syntax' changes when byte-compiled

Previous Next

Package: emacs;

Reported by: Toby Cubitt <toby-dated-1274008215.7ce38e <at> dr-qubit.org>

Date: Sun, 2 May 2010 12:28:02 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Toby Cubitt <tsc25 <at> cantab.net>
Cc: 6080 <at> debbugs.gnu.org
Subject: bug#6080: Behaviour of `char-syntax' changes when byte-compiled
Date: Wed, 05 May 2010 13:54:17 -0400
> Will you fix the char-syntax function so that it signals an error in this
> case?

I've just installed such a change,


        Stefan


--- src/syntax.c	2010-03-10 14:45:21 +0000
+++ src/syntax.c	2010-05-05 17:20:27 +0000
@@ -858,7 +858,7 @@
      Lisp_Object character;
 {
   int char_int;
-  CHECK_NUMBER (character);
+  CHECK_CHARACTER (character);
   char_int = XINT (character);
   SETUP_BUFFER_SYNTAX_TABLE ();
   return make_number (syntax_code_spec[(int) SYNTAX (char_int)]);





This bug report was last modified 15 years and 16 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.