Mercurial > emacs
changeset 15782:096142df0b36
(edebug-trace-display): Save and restore current buffer.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 24 Jul 1996 16:36:41 +0000 |
parents | 5cd40832a444 |
children | e0524a01fc91 |
files | lisp/emacs-lisp/edebug.el |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/edebug.el Wed Jul 24 16:20:04 1996 +0000 +++ b/lisp/emacs-lisp/edebug.el Wed Jul 24 16:36:41 1996 +0000 @@ -8,7 +8,7 @@ ;; LCD Archive Entry: ;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu ;; |A source level debugger for Emacs Lisp. -;; |$Date: 1996/03/20 13:30:16 $|$Revision: 3.6 $|~/modes/edebug.el| +;; |$Date: 1996/05/29 17:16:52 $|$Revision: 3.7 $|~/modes/edebug.el| ;; This file is part of GNU Emacs. @@ -85,7 +85,7 @@ ;;; Code: (defconst edebug-version - (let ((raw-version "$Revision: 3.6 $")) + (let ((raw-version "$Revision: 3.7 $")) (substring raw-version (string-match "[0-9.]*" raw-version) (match-end 0)))) @@ -4140,7 +4140,8 @@ ;; (edebug-trace-display "*trace-point*" ;; "saving: point = %s window-start = %s" ;; (point) (window-start)) - (let* ((selected-window (selected-window)) + (let* ((oldbuf (current-buffer)) + (selected-window (selected-window)) (buffer (get-buffer-create buf-name)) buf-window) ;; (message "before pop-to-buffer") (sit-for 1) @@ -4156,7 +4157,8 @@ ;; (set-window-point buf-window (point)) ;; (edebug-sit-for 0) (bury-buffer buffer) - (select-window selected-window)) + (select-window selected-window) + (set-buffer oldbuf)) buf-name)