diff options
| author | Paul Eggert | 2011-09-27 09:04:56 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-09-27 09:04:56 -0700 |
| commit | eee134655504adba0a868dc064078e814d6aa33a (patch) | |
| tree | 047e75c4381ddb918cd95d798b0616ef95e86e3e /src | |
| parent | 43ad2e9af4e92fa795fb3b1fc5d793a76595a34f (diff) | |
| parent | 2b1928b8071719a779e7144bcf777d999cd9bbec (diff) | |
| download | emacs-eee134655504adba0a868dc064078e814d6aa33a.tar.gz emacs-eee134655504adba0a868dc064078e814d6aa33a.zip | |
Merge from trunk.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/lread.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8ac09c6c821..7b09cb744a3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -774,6 +774,11 @@ | |||
| 774 | rather than rolling our own approximation. | 774 | rather than rolling our own approximation. |
| 775 | (SCROLL_BAR_VEC_SIZE): Remove; not used. | 775 | (SCROLL_BAR_VEC_SIZE): Remove; not used. |
| 776 | 776 | ||
| 777 | 2011-09-27 Andreas Schwab <schwab@linux-m68k.org> | ||
| 778 | |||
| 779 | * lread.c (readevalloop): Use correct code for NBSP. | ||
| 780 | (read1): Likewise. (Bug#9608) | ||
| 781 | |||
| 777 | 2011-09-25 Michael Albinus <michael.albinus@gmx.de> | 782 | 2011-09-25 Michael Albinus <michael.albinus@gmx.de> |
| 778 | 783 | ||
| 779 | * dbusbind.c (Fdbus_register_signal): When service is not | 784 | * dbusbind.c (Fdbus_register_signal): When service is not |
diff --git a/src/lread.c b/src/lread.c index e427688fdc7..1179d63436f 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -1801,7 +1801,7 @@ readevalloop (Lisp_Object readcharfun, | |||
| 1801 | 1801 | ||
| 1802 | /* Ignore whitespace here, so we can detect eof. */ | 1802 | /* Ignore whitespace here, so we can detect eof. */ |
| 1803 | if (c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r' | 1803 | if (c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r' |
| 1804 | || c == 0x8a0) /* NBSP */ | 1804 | || c == 0xa0) /* NBSP */ |
| 1805 | goto read_next; | 1805 | goto read_next; |
| 1806 | 1806 | ||
| 1807 | if (!NILP (Vpurify_flag) && c == '(') | 1807 | if (!NILP (Vpurify_flag) && c == '(') |
| @@ -2689,7 +2689,7 @@ read1 (register Lisp_Object readcharfun, int *pch, int first_in_list) | |||
| 2689 | uninterned_symbol = 1; | 2689 | uninterned_symbol = 1; |
| 2690 | c = READCHAR; | 2690 | c = READCHAR; |
| 2691 | if (!(c > 040 | 2691 | if (!(c > 040 |
| 2692 | && c != 0x8a0 | 2692 | && c != 0xa0 /* NBSP */ |
| 2693 | && (c >= 0200 | 2693 | && (c >= 0200 |
| 2694 | || strchr ("\"';()[]#`,", c) == NULL))) | 2694 | || strchr ("\"';()[]#`,", c) == NULL))) |
| 2695 | { | 2695 | { |
| @@ -3037,7 +3037,7 @@ read1 (register Lisp_Object readcharfun, int *pch, int first_in_list) | |||
| 3037 | default: | 3037 | default: |
| 3038 | default_label: | 3038 | default_label: |
| 3039 | if (c <= 040) goto retry; | 3039 | if (c <= 040) goto retry; |
| 3040 | if (c == 0x8a0) /* NBSP */ | 3040 | if (c == 0xa0) /* NBSP */ |
| 3041 | goto retry; | 3041 | goto retry; |
| 3042 | 3042 | ||
| 3043 | read_symbol: | 3043 | read_symbol: |
| @@ -3078,7 +3078,7 @@ read1 (register Lisp_Object readcharfun, int *pch, int first_in_list) | |||
| 3078 | c = READCHAR; | 3078 | c = READCHAR; |
| 3079 | } | 3079 | } |
| 3080 | while (c > 040 | 3080 | while (c > 040 |
| 3081 | && c != 0x8a0 /* NBSP */ | 3081 | && c != 0xa0 /* NBSP */ |
| 3082 | && (c >= 0200 | 3082 | && (c >= 0200 |
| 3083 | || strchr ("\"';()[]#`,", c) == NULL)); | 3083 | || strchr ("\"';()[]#`,", c) == NULL)); |
| 3084 | 3084 | ||