diff options
| author | Michael Kifer | 2000-10-30 02:16:11 +0000 |
|---|---|---|
| committer | Michael Kifer | 2000-10-30 02:16:11 +0000 |
| commit | fda2ce246adf7e469334877d861e7f21e72b4b61 (patch) | |
| tree | 146653914f161ca16e1989d4378346188dee9ec0 | |
| parent | 71070f12e7355ba3939e0273a140591a2d0189d5 (diff) | |
| download | emacs-fda2ce246adf7e469334877d861e7f21e72b4b61.tar.gz emacs-fda2ce246adf7e469334877d861e7f21e72b4b61.zip | |
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.
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/ediff-wind.el | 8 |
2 files changed, 13 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5e5ba70d9b9..96748d3a426 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -22,6 +22,11 @@ | |||
| 22 | programs are modified and moved from mac-win.el. | 22 | programs are modified and moved from mac-win.el. |
| 23 | (mac-roman): Definition of this coding system is modified and | 23 | (mac-roman): Definition of this coding system is modified and |
| 24 | moved from mac-win.el. | 24 | moved from mac-win.el. |
| 25 | |||
| 26 | 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu> | ||
| 27 | |||
| 28 | * ediff-wind.el (ediff-setup-control-frame): enclose | ||
| 29 | face-attribute in condition-case to avoid errors in older emacsen. | ||
| 25 | 30 | ||
| 26 | 2000-10-29 Miles Bader <miles@gnu.org> | 31 | 2000-10-29 Miles Bader <miles@gnu.org> |
| 27 | 32 | ||
| @@ -4793,7 +4798,7 @@ | |||
| 4793 | 2000-08-28 Peter Breton <pbreton@ne.mediaone.net> | 4798 | 2000-08-28 Peter Breton <pbreton@ne.mediaone.net> |
| 4794 | 4799 | ||
| 4795 | * locate.el (locate): Cleaned up locate command's interactive prompting | 4800 | * locate.el (locate): Cleaned up locate command's interactive prompting |
| 4796 | Thanks to Fran,Ag(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions. | 4801 | Thanks to François_Pinard <pinard@iro.umontreal.ca> for suggestions. |
| 4797 | 4802 | ||
| 4798 | * filecache.el (file-cache-case-fold-search): New variable | 4803 | * filecache.el (file-cache-case-fold-search): New variable |
| 4799 | (file-cache-assoc-function): New variable | 4804 | (file-cache-assoc-function): New variable |
| @@ -8724,7 +8729,7 @@ | |||
| 8724 | 8729 | ||
| 8725 | 2000-05-07 Dave Love <fx@gnu.org> | 8730 | 2000-05-07 Dave Love <fx@gnu.org> |
| 8726 | 8731 | ||
| 8727 | * time.el: Small doc fixes from Pavel Jan,Am(Bk ml. | 8732 | * time.el: Small doc fixes from Pavel Janík ml. |
| 8728 | 8733 | ||
| 8729 | 2000-05-05 Dave Love <fx@gnu.org> | 8734 | 2000-05-05 Dave Love <fx@gnu.org> |
| 8730 | 8735 | ||
diff --git a/lisp/ediff-wind.el b/lisp/ediff-wind.el index cfebeb2b919..4e8138a087b 100644 --- a/lisp/ediff-wind.el +++ b/lisp/ediff-wind.el | |||
| @@ -906,8 +906,12 @@ into icons, regardless of the window manager." | |||
| 906 | old-ctl-frame | 906 | old-ctl-frame |
| 907 | (make-frame ediff-control-frame-parameters)) | 907 | (make-frame ediff-control-frame-parameters)) |
| 908 | ediff-control-frame ctl-frame) | 908 | ediff-control-frame ctl-frame) |
| 909 | (when (and ediff-emacs-p (face-attribute 'mode-line :box)) | 909 | ;; protect against undefined face-attribute |
| 910 | (set-face-attribute 'mode-line ctl-frame :box nil))) | 910 | (condition-case nill |
| 911 | (when (and ediff-emacs-p (face-attribute 'mode-line :box)) | ||
| 912 | (set-face-attribute 'mode-line ctl-frame :box nil)) | ||
| 913 | (error)) | ||
| 914 | ) | ||
| 911 | 915 | ||
| 912 | (setq ctl-frame-iconified-p (ediff-frame-iconified-p ctl-frame)) | 916 | (setq ctl-frame-iconified-p (ediff-frame-iconified-p ctl-frame)) |
| 913 | (select-frame ctl-frame) | 917 | (select-frame ctl-frame) |