diff options
| author | Richard M. Stallman | 1994-12-09 14:15:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-12-09 14:15:06 +0000 |
| commit | af09cb431efd4a6cc448f28313ec33b7c2dc22f2 (patch) | |
| tree | 1b8a89191d45e0ebd630c9957fc19f6d120481a6 | |
| parent | 33f54425db6698cc09e8fc263fe48928e0d4ec74 (diff) | |
| download | emacs-af09cb431efd4a6cc448f28313ec33b7c2dc22f2.tar.gz emacs-af09cb431efd4a6cc448f28313ec33b7c2dc22f2.zip | |
(Fbyte_code): Call Ffollowing_char and Fprevious_char
as functions. Don't mask char-syntax arg to just 8 bits.
| -rw-r--r-- | src/bytecode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index f201adebfc6..39e2ae4a434 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -861,12 +861,12 @@ If the third argument is incorrect, Emacs may crash.") | |||
| 861 | break; | 861 | break; |
| 862 | 862 | ||
| 863 | case Bfollowing_char: | 863 | case Bfollowing_char: |
| 864 | XSETFASTINT (v1, PT == ZV ? 0 : FETCH_CHAR (point)); | 864 | v1 = Ffollowing_char (); |
| 865 | PUSH (v1); | 865 | PUSH (v1); |
| 866 | break; | 866 | break; |
| 867 | 867 | ||
| 868 | case Bpreceding_char: | 868 | case Bpreceding_char: |
| 869 | XSETFASTINT (v1, point <= BEGV ? 0 : FETCH_CHAR (point - 1)); | 869 | v1 = Fprevious_char (); |
| 870 | PUSH (v1); | 870 | PUSH (v1); |
| 871 | break; | 871 | break; |
| 872 | 872 | ||
| @@ -937,7 +937,7 @@ If the third argument is incorrect, Emacs may crash.") | |||
| 937 | case Bchar_syntax: | 937 | case Bchar_syntax: |
| 938 | CHECK_NUMBER (TOP, 0); | 938 | CHECK_NUMBER (TOP, 0); |
| 939 | XSETFASTINT (TOP, | 939 | XSETFASTINT (TOP, |
| 940 | syntax_code_spec[(int) SYNTAX (0xFF & XINT (TOP))]); | 940 | syntax_code_spec[(int) SYNTAX (XINT (TOP))]); |
| 941 | break; | 941 | break; |
| 942 | 942 | ||
| 943 | case Bbuffer_substring: | 943 | case Bbuffer_substring: |