aboutsummaryrefslogtreecommitdiffstats
path: root/src/lread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lread.c')
-rw-r--r--src/lread.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c
index 53f26faea36..95b5dcd45ed 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -2819,7 +2819,17 @@ read1 (readcharfun, pch, first_in_list)
2819 } 2819 }
2820 2820
2821 case '`': 2821 case '`':
2822 if (first_in_list) 2822 /* Transition from old-style to new-style:
2823 If we see "(`" it used to mean old-style, which usually works
2824 fine because ` should almost never appear in such a position
2825 for new-style. But occasionally we need "(`" to mean new
2826 style, so we try to distinguish the two by the fact that we
2827 can either write "( `foo" or "(` foo", where the first
2828 intends to use new-style whereas the second intends to use
2829 old-style. For Emacs-25, we should completely remove this
2830 first_in_list exception (old-style can still be obtained via
2831 "(\`" anyway). */
2832 if (first_in_list && (c = READCHAR, UNREAD (c), c == ' '))
2823 { 2833 {
2824 Vold_style_backquotes = Qt; 2834 Vold_style_backquotes = Qt;
2825 goto default_label; 2835 goto default_label;