diff options
| author | Joakim Verona | 2010-06-23 13:19:18 +0200 |
|---|---|---|
| committer | Joakim Verona | 2010-06-23 13:19:18 +0200 |
| commit | ff982c322045ced3480f3a36fcf05acaf84547c1 (patch) | |
| tree | 4efe998261ff6d0f8752ebeeb84938e6a7b6effc /src/lread.c | |
| parent | 14d0b57c0e88c730d676197f923a18d6b926b6ed (diff) | |
| parent | 04c23739823fecd98cbc06ad627b36e5bd8e482e (diff) | |
| download | emacs-ff982c322045ced3480f3a36fcf05acaf84547c1.tar.gz emacs-ff982c322045ced3480f3a36fcf05acaf84547c1.zip | |
erge and a readme
Diffstat (limited to 'src/lread.c')
| -rw-r--r-- | src/lread.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c index 3a77a62b27f..c73f7f32e51 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -2683,7 +2683,17 @@ read1 (readcharfun, pch, first_in_list) | |||
| 2683 | } | 2683 | } |
| 2684 | 2684 | ||
| 2685 | case '`': | 2685 | case '`': |
| 2686 | if (first_in_list) | 2686 | /* Transition from old-style to new-style: |
| 2687 | If we see "(`" it used to mean old-style, which usually works | ||
| 2688 | fine because ` should almost never appear in such a position | ||
| 2689 | for new-style. But occasionally we need "(`" to mean new | ||
| 2690 | style, so we try to distinguish the two by the fact that we | ||
| 2691 | can either write "( `foo" or "(` foo", where the first | ||
| 2692 | intends to use new-style whereas the second intends to use | ||
| 2693 | old-style. For Emacs-25, we should completely remove this | ||
| 2694 | first_in_list exception (old-style can still be obtained via | ||
| 2695 | "(\`" anyway). */ | ||
| 2696 | if (first_in_list && (c = READCHAR, UNREAD (c), c == ' ')) | ||
| 2687 | { | 2697 | { |
| 2688 | Vold_style_backquotes = Qt; | 2698 | Vold_style_backquotes = Qt; |
| 2689 | goto default_label; | 2699 | goto default_label; |