aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/edebug.el27
1 files changed, 6 insertions, 21 deletions
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index 76a3443b065..f6831f6f29d 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -8,7 +8,7 @@
8;; LCD Archive Entry: 8;; LCD Archive Entry:
9;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu 9;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu
10;; |A source level debugger for Emacs Lisp. 10;; |A source level debugger for Emacs Lisp.
11;; |$Date: 1996/10/02 21:41:56 $|$Revision: 3.11 $|~/modes/edebug.el| 11;; |$Date: 1996/11/09 21:48:07 $|$Revision: 3.12 $|~/modes/edebug.el|
12 12
13;; This file is part of GNU Emacs. 13;; This file is part of GNU Emacs.
14 14
@@ -85,7 +85,7 @@
85;;; Code: 85;;; Code:
86 86
87(defconst edebug-version 87(defconst edebug-version
88 (let ((raw-version "$Revision: 3.11 $")) 88 (let ((raw-version "$Revision: 3.12 $"))
89 (substring raw-version (string-match "[0-9.]*" raw-version) 89 (substring raw-version (string-match "[0-9.]*" raw-version)
90 (match-end 0)))) 90 (match-end 0))))
91 91
@@ -752,15 +752,8 @@ or if an error occurs, leave point after it with mark at the original point."
752 (cond 752 (cond
753 ;; read goes one too far if a (possibly quoted) string or symbol 753 ;; read goes one too far if a (possibly quoted) string or symbol
754 ;; is immediately followed by non-whitespace. 754 ;; is immediately followed by non-whitespace.
755 ((eq class 'symbol) (prog1 755 ((eq class 'symbol) (edebug-original-read (current-buffer)))
756 (edebug-original-read (current-buffer)) 756 ((eq class 'string) (edebug-original-read (current-buffer)))
757 (if (not (eq (aref edebug-read-syntax-table
758 (preceding-char)) 'symbol))
759 (forward-char -1))))
760 ((eq class 'string) (prog1
761 (edebug-original-read (current-buffer))
762 (if (/= (preceding-char) ?\")
763 (forward-char -1))))
764 ((eq class 'quote) (forward-char 1) 757 ((eq class 'quote) (forward-char 1)
765 (list 'quote (edebug-read-sexp))) 758 (list 'quote (edebug-read-sexp)))
766 ((eq class 'backquote) 759 ((eq class 'backquote)
@@ -872,18 +865,10 @@ or if an error occurs, leave point after it with mark at the original point."
872 ))) 865 )))
873 866
874(defun edebug-read-symbol (stream) 867(defun edebug-read-symbol (stream)
875 (prog1 868 (edebug-original-read stream))
876 (edebug-original-read stream)
877 ;; loses for escaped chars
878 (if (not (eq (aref edebug-read-syntax-table
879 (preceding-char)) 'symbol))
880 (forward-char -1))))
881 869
882(defun edebug-read-string (stream) 870(defun edebug-read-string (stream)
883 (prog1 871 (edebug-original-read stream))
884 (edebug-original-read stream)
885 (if (/= (preceding-char) ?\")
886 (forward-char -1))))
887 872
888(defun edebug-read-quote (stream) 873(defun edebug-read-quote (stream)
889 ;; Turn 'thing into (quote thing) 874 ;; Turn 'thing into (quote thing)