>From 781b23e55488f80ab310f376cf27b5066fea7114 Mon Sep 17 00:00:00 2001 From: Gemini Lasswell Date: Sat, 4 Feb 2017 08:39:55 -0800 Subject: [PATCH] Remove syntax error check from edebug-read-function (Bug#25068) * lisp/emacs-lisp/edebug.el (edebug-read-function): Allow `read' to decide what is and isn't a syntax error. --- lisp/emacs-lisp/edebug.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index ec0f08d..a883804 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -880,11 +880,9 @@ edebug-read-function (list (edebug-storing-offsets (- (point) 2) 'function) (edebug-read-storing-offsets stream))) - ((memq (following-char) '(?: ?B ?O ?X ?b ?o ?x ?1 ?2 ?3 ?4 ?5 ?6 - ?7 ?8 ?9 ?0)) + (t (backward-char 1) - (read stream)) - (t (edebug-syntax-error "Bad char after #")))) + (read stream)))) (defun edebug-read-list (stream) (forward-char 1) ; skip \( -- 2.10.1