aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorNoam Postavsky2018-03-10 18:20:45 -0500
committerNoam Postavsky2019-11-28 18:03:42 -0500
commit85f586f3ce5c6d9598d345440fd57e0fc9b8d98b (patch)
tree10723ac9f3d20dc4a4bb045b1e58c02234a9c9e5 /etc
parent98f8c5fb07dcb4e20b8ba6648bdabf5c0d3b5145 (diff)
downloademacs-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 'etc')
-rw-r--r--etc/NEWS9
1 files changed, 0 insertions, 9 deletions
diff --git a/etc/NEWS b/etc/NEWS
index cb73e46358a..3a2efcfc2e0 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2972,15 +2972,6 @@ and if the new behavior breaks your code please email
2972<32252@debbugs.gnu.org>. Because '%o' and '%x' can now format signed 2972<32252@debbugs.gnu.org>. Because '%o' and '%x' can now format signed
2973integers, they now support the '+' and space flags. 2973integers, they now support the '+' and space flags.
2974 2974
2975** To avoid confusion caused by "smart quotes", the reader signals an
2976error when reading Lisp symbols which begin with one of the following
2977quotation characters: ‘’‛“”‟〞"'. A symbol beginning with such a
2978character can be written by escaping the quotation character with a
2979backslash. For example:
2980
2981 (read "‘smart") => (invalid-read-syntax "strange quote" "‘")
2982 (read "\\‘smart") == (intern "‘smart")
2983
2984+++ 2975+++
2985** Omitting variables after '&optional' and '&rest' is now allowed. 2976** Omitting variables after '&optional' and '&rest' is now allowed.
2986For example '(defun foo (&optional))' is no longer an error. This is 2977For example '(defun foo (&optional))' is no longer an error. This is