Mercurial > hg > xemacs-beta
diff lisp/oobr/br.el @ 120:cca96a509cfe r20-1b12
Import from CVS: tag r20-1b12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:25:29 +0200 |
parents | 4be1180a9e89 |
children |
line wrap: on
line diff
--- a/lisp/oobr/br.el Mon Aug 13 09:24:19 2007 +0200 +++ b/lisp/oobr/br.el Mon Aug 13 09:25:29 2007 +0200 @@ -9,7 +9,7 @@ ;; ORG: InfoDock Associates ;; ;; ORIG-DATE: 12-Dec-89 -;; LAST-MOD: 21-Feb-97 at 16:45:11 by Bob Weiner +;; LAST-MOD: 9-Apr-97 at 00:31:44 by Bob Weiner ;; ;; Copyright (C) 1989-1996 Free Software Foundation, Inc. ;; See the file BR-COPY for license information. @@ -991,8 +991,13 @@ ;; Too dangerous to include (br-editor-kill) here. ;; The user can invoke it manually if desired. ) - (and *br-prev-wconfig* (set-window-configuration *br-prev-wconfig*)) - (br-interrupt arg))) + ;; The following `let' clause is necessary since br-interrupt buries + ;; buffers and so must be called before the window configuration restore, + ;; but it also may set *br-prev-wconfig* to nil, so we have to cache its + ;; value. + (let ((wconfig *br-prev-wconfig*)) + (br-interrupt arg) + (if wconfig (set-window-configuration wconfig))))) (defun br-refresh () "Restore OO-Browser to its state upon startup."