aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS4
-rw-r--r--src/ChangeLog7
-rw-r--r--src/lread.c12
3 files changed, 20 insertions, 3 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 60de0a286f3..b881edfb3b4 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -257,7 +257,11 @@ Notifications API. It requires D-Bus for communication.
257 257
258* Incompatible Lisp Changes in Emacs 24.1 258* Incompatible Lisp Changes in Emacs 24.1
259 259
260** A backquote not followed by a space is now always treated as new-style.
261
260** Test for special mode-class was moved from view-file to view-buffer. 262** Test for special mode-class was moved from view-file to view-buffer.
263FIXME: This only says what was changed, but not what are the
264programmer-visible consequences.
261 265
262** Passing a nil argument to a minor mode function now turns the mode 266** Passing a nil argument to a minor mode function now turns the mode
263 ON unconditionally. 267 ON unconditionally.
diff --git a/src/ChangeLog b/src/ChangeLog
index 3e6c8f24398..799680498ea 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * lread.c (read1): Phase out old-style backquotes a bit more.
4
12010-06-12 Eli Zaretskii <eliz@gnu.org> 52010-06-12 Eli Zaretskii <eliz@gnu.org>
2 6
3 * makefile.w32-in ($(BLD)/bidi.$(O)): Depend on biditype.h and 7 * makefile.w32-in ($(BLD)/bidi.$(O)): Depend on biditype.h and
@@ -7,8 +11,7 @@
7 11
8 * bidi.c (bidi_initialize): Remove explicit initialization of 12 * bidi.c (bidi_initialize): Remove explicit initialization of
9 bidi_type_table; include biditype.h instead. Don't support 13 bidi_type_table; include biditype.h instead. Don't support
10 entries whose second codepoint is zero. Initialize 14 entries whose second codepoint is zero. Initialize bidi_mirror_table.
11 bidi_mirror_table.
12 (bidi_mirror_char): Use bidi_mirror_table. 15 (bidi_mirror_char): Use bidi_mirror_table.
13 16
14 * biditype.h: New file. 17 * biditype.h: New file.
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;