diff options
| author | Noam Postavsky | 2018-03-10 18:20:45 -0500 |
|---|---|---|
| committer | Noam Postavsky | 2019-11-28 18:03:42 -0500 |
| commit | 85f586f3ce5c6d9598d345440fd57e0fc9b8d98b (patch) | |
| tree | 10723ac9f3d20dc4a4bb045b1e58c02234a9c9e5 /src/character.h | |
| parent | 98f8c5fb07dcb4e20b8ba6648bdabf5c0d3b5145 (diff) | |
| download | emacs-85f586f3ce5c6d9598d345440fd57e0fc9b8d98b.tar.gz emacs-85f586f3ce5c6d9598d345440fd57e0fc9b8d98b.zip | |
Stop signaling an error when reading "smart quotes" in symbols
Revert commits from 2018-01-28 "Fix round tripping of read->print for
symbols with strange quotes", and 2017-07-22 "Signal error for symbol
names with strange quotes (Bug#2967)".
* etc/NEWS: Remove corresponding entries.
* src/character.c (confusable_symbol_character_p):
* test/src/lread-tests.el (lread-tests--old-style-backquotes): Remove.
* src/lread.c (read1): Don't signal error on confusable character.
* src/print.c (print_object): Don't escape confusable characters.
Diffstat (limited to 'src/character.h')
| -rw-r--r-- | src/character.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/character.h b/src/character.h index 230fc6eab59..3642a540448 100644 --- a/src/character.h +++ b/src/character.h | |||
| @@ -684,8 +684,6 @@ extern bool graphicp (int); | |||
| 684 | extern bool printablep (int); | 684 | extern bool printablep (int); |
| 685 | extern bool blankp (int); | 685 | extern bool blankp (int); |
| 686 | 686 | ||
| 687 | extern bool confusable_symbol_character_p (int ch); | ||
| 688 | |||
| 689 | /* Return a translation table of id number ID. */ | 687 | /* Return a translation table of id number ID. */ |
| 690 | #define GET_TRANSLATION_TABLE(id) \ | 688 | #define GET_TRANSLATION_TABLE(id) \ |
| 691 | (XCDR (XVECTOR (Vtranslation_table_vector)->contents[(id)])) | 689 | (XCDR (XVECTOR (Vtranslation_table_vector)->contents[(id)])) |