yatex

diff yatexlib.el @ 56:a9653fbd1c1c

Bug fix version
author yuuji
date Thu, 29 Jun 1995 13:46:57 +0000
parents 2d45e43fb35f
children 3a7c0c2bf16d
line diff
     1.1 --- a/yatexlib.el	Mon Apr 24 14:42:53 1995 +0000
     1.2 +++ b/yatexlib.el	Thu Jun 29 13:46:57 1995 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4  ;;; YaTeX library of general functions.
     1.5  ;;; yatexlib.el
     1.6  ;;; (c )1994-1995 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp]
     1.7 -;;; Last modified Fri Feb 17 22:08:23 1995 on VFR
     1.8 +;;; Last modified Fri Apr 28 16:17:44 1995 on VFR
     1.9  ;;; $Id$
    1.10  
    1.11  ;;;###autoload
    1.12 @@ -316,8 +316,8 @@
    1.13  	  (and (featurep 'windows) (fboundp 'win:adjust-window)
    1.14  	       (win:adjust-window))))
    1.15         ((and (featurep 'windows) (fboundp 'win:get-buffer-window)
    1.16 -	     (win:get-buffer-window buffer))
    1.17 -	(win:switch-window (win:get-buffer-window buffer))
    1.18 +	     (let ((w (win:get-buffer-window buffer)))
    1.19 +	       (and w (win:switch-window w))))
    1.20  	(select-window (get-buffer-window buffer)))
    1.21         (t (switch-to-buffer buffer))))
    1.22  )