aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lread.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lread.c b/src/lread.c
index 4b7d38a8e6c..1d20470a8bf 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -2664,6 +2664,10 @@ read_escape (Lisp_Object readcharfun)
2664 case 'v': 2664 case 'v':
2665 return '\v'; 2665 return '\v';
2666 2666
2667 case '\n':
2668 /* ?\LF is an error; it's probably a user mistake. */
2669 error ("Invalid escape character syntax");
2670
2667 case 'M': 2671 case 'M':
2668 c = READCHAR; 2672 c = READCHAR;
2669 if (c != '-') 2673 if (c != '-')