comparison lisp/ediff-util.el @ 47846:8e6ed5c1f142

2002-10-12 Michael Kifer <kifer@cs.stonybrook.edu> * ediff-init.el (ediff-frame-char-height): use frame-selected-window. * ediff-util.el (ediff-file-checked-in-p): changed progn with and * ediff-wind.el (ediff-skip-unsuitable-frames): distinguish selected frame from frame of selected window (ediff-frame-has-dedicated-windows): don't select any frames to avoid changing selected windows (ediff-setup-control-frame): make sure auto-rase is properly set for the control frame
author Michael Kifer <kifer@cs.stonybrook.edu>
date Sat, 12 Oct 2002 07:13:59 +0000
parents a37b476e1aec
children 37645a051842
comparison
equal deleted inserted replaced
47845:d29cf71f0e89 47846:8e6ed5c1f142
1135 (defsubst ediff-file-checked-in-p (file) 1135 (defsubst ediff-file-checked-in-p (file)
1136 (and (featurep 'vc-hooks) 1136 (and (featurep 'vc-hooks)
1137 ;; CVS files are considered not checked in 1137 ;; CVS files are considered not checked in
1138 (not (memq (vc-backend file) '(nil CVS))) 1138 (not (memq (vc-backend file) '(nil CVS)))
1139 (if (fboundp 'vc-state) 1139 (if (fboundp 'vc-state)
1140 (progn 1140 (and
1141 (not (memq (vc-state file) '(edited needs-merge))) 1141 (not (memq (vc-state file) '(edited needs-merge)))
1142 (not (stringp (vc-state file)))) 1142 (not (stringp (vc-state file))))
1143 ;; XEmacs has no vc-state 1143 ;; XEmacs has no vc-state
1144 (not (vc-locking-user file))) 1144 (not (vc-locking-user file)))
1145 )) 1145 ))
1146 1146
1147 (defun ediff-file-compressed-p (file) 1147 (defun ediff-file-compressed-p (file)