]> code.delx.au - gnu-emacs/commitdiff
2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
authorMichael Kifer <kifer@cs.stonybrook.edu>
Mon, 30 Oct 2000 02:16:11 +0000 (02:16 +0000)
committerMichael Kifer <kifer@cs.stonybrook.edu>
Mon, 30 Oct 2000 02:16:11 +0000 (02:16 +0000)
* ediff-wind.el (ediff-setup-control-frame): enclose
face-attribute in condition-case to avoid errors in older emacsen.

lisp/ChangeLog
lisp/ediff-wind.el

index 5e5ba70d9b948f709d5b8a241e5de7d42618969f..96748d3a426630a32fb77a8a23acd94e26799499 100644 (file)
        programs are modified and moved from mac-win.el.
        (mac-roman): Definition of this coding system is modified and
        moved from mac-win.el.
+       
+2000-10-29  Michael Kifer  <kifer@cs.sunysb.edu>
+       
+       * ediff-wind.el (ediff-setup-control-frame): enclose
+       face-attribute in condition-case to avoid errors in older emacsen.
 
 2000-10-29  Miles Bader  <miles@gnu.org>
 
 2000-08-28  Peter Breton  <pbreton@ne.mediaone.net>
 
        * locate.el (locate): Cleaned up locate command's interactive prompting
-       Thanks to Fran\e,Ag\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
+       Thanks to François_Pinard <pinard@iro.umontreal.ca> for suggestions.
 
        * filecache.el (file-cache-case-fold-search): New variable
        (file-cache-assoc-function): New variable
 
 2000-05-07  Dave Love  <fx@gnu.org>
 
-       * time.el: Small doc fixes from Pavel Jan\e,Am\e(Bk ml.
+       * time.el: Small doc fixes from Pavel Janík ml.
 
 2000-05-05  Dave Love  <fx@gnu.org>
 
index cfebeb2b9194889685d7bf87e70ff9d5c78113fd..4e8138a087b72c67a9006e1277db29671a9b9dd4 100644 (file)
@@ -906,8 +906,12 @@ into icons, regardless of the window manager."
                          old-ctl-frame
                        (make-frame ediff-control-frame-parameters))
            ediff-control-frame ctl-frame)
-      (when (and ediff-emacs-p (face-attribute 'mode-line :box))
-       (set-face-attribute 'mode-line ctl-frame :box nil)))
+      ;; protect against undefined face-attribute
+      (condition-case nill
+         (when (and ediff-emacs-p (face-attribute 'mode-line :box))
+           (set-face-attribute 'mode-line ctl-frame :box nil))
+       (error))
+      )
     
     (setq ctl-frame-iconified-p (ediff-frame-iconified-p ctl-frame))
     (select-frame ctl-frame)