diff options
| author | Stefan Monnier | 2008-04-19 03:10:31 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-04-19 03:10:31 +0000 |
| commit | a5c2e9ebe8621a2ec6bc06d07b5d7ba0027c34db (patch) | |
| tree | 408a54daaf8413a4647ac84f848da4df6b17f779 | |
| parent | 6c8b4f07d1ccde31589e46d3582cedaab8af8062 (diff) | |
| download | emacs-a5c2e9ebe8621a2ec6bc06d07b5d7ba0027c34db.tar.gz emacs-a5c2e9ebe8621a2ec6bc06d07b5d7ba0027c34db.zip | |
(trace-make-advice): Don't change selected-window.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/emacs-lisp/trace.el | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1036bf477f7..133c02fac96 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window. | ||
| 4 | |||
| 1 | 2008-04-18 Sam Steingold <sds@gnu.org> | 5 | 2008-04-18 Sam Steingold <sds@gnu.org> |
| 2 | 6 | ||
| 3 | * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map): | 7 | * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map): |
diff --git a/lisp/emacs-lisp/trace.el b/lisp/emacs-lisp/trace.el index 4edb496db41..d007addbeb8 100644 --- a/lisp/emacs-lisp/trace.el +++ b/lisp/emacs-lisp/trace.el | |||
| @@ -220,7 +220,7 @@ | |||
| 220 | (trace-buffer (get-buffer-create ,buffer))) | 220 | (trace-buffer (get-buffer-create ,buffer))) |
| 221 | (unless inhibit-trace | 221 | (unless inhibit-trace |
| 222 | (with-current-buffer trace-buffer | 222 | (with-current-buffer trace-buffer |
| 223 | ,(unless background '(pop-to-buffer trace-buffer)) | 223 | ,(unless background '(display-buffer trace-buffer)) |
| 224 | (goto-char (point-max)) | 224 | (goto-char (point-max)) |
| 225 | ;; Insert a separator from previous trace output: | 225 | ;; Insert a separator from previous trace output: |
| 226 | (if (= trace-level 1) (insert trace-separator)) | 226 | (if (= trace-level 1) (insert trace-separator)) |
| @@ -230,7 +230,7 @@ | |||
| 230 | ad-do-it | 230 | ad-do-it |
| 231 | (unless inhibit-trace | 231 | (unless inhibit-trace |
| 232 | (with-current-buffer trace-buffer | 232 | (with-current-buffer trace-buffer |
| 233 | ,(unless background '(pop-to-buffer trace-buffer)) | 233 | ,(unless background '(display-buffer trace-buffer)) |
| 234 | (goto-char (point-max)) | 234 | (goto-char (point-max)) |
| 235 | (insert | 235 | (insert |
| 236 | (trace-exit-message | 236 | (trace-exit-message |