diff options
| author | Miles Bader | 2003-06-06 01:32:33 +0000 |
|---|---|---|
| committer | Miles Bader | 2003-06-06 01:32:33 +0000 |
| commit | 9328929244e2f71ca0737b741be27f08fc345023 (patch) | |
| tree | 8d105f17b2b19d5d5be93b4c86e683ed123f0e28 /lisp | |
| parent | d18c4f98bdbedcf61972463910f33aa8ea253807 (diff) | |
| download | emacs-9328929244e2f71ca0737b741be27f08fc345023.tar.gz emacs-9328929244e2f71ca0737b741be27f08fc345023.zip | |
(set-frame-font): Default to frame's current default font.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/frame.el | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 173a4e20ecb..7ae84fcd5e7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2003-06-06 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * frame.el (set-frame-font): Default to frame's current default font. | ||
| 4 | |||
| 1 | 2003-06-06 Kim F. Storm <storm@cua.dk> | 5 | 2003-06-06 Kim F. Storm <storm@cua.dk> |
| 2 | 6 | ||
| 3 | * info.el (Info-fontify-node): Don't refill over lines ending in a | 7 | * info.el (Info-fontify-node): Don't refill over lines ending in a |
diff --git a/lisp/frame.el b/lisp/frame.el index 2934153eb98..8ed5776550e 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; frame.el --- multi-frame management independent of window systems | 1 | ;;; frame.el --- multi-frame management independent of window systems |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993, 1994, 1996, 1997, 2000, 2001 | 3 | ;; Copyright (C) 1993, 1994, 1996, 1997, 2000, 2001, 2003 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| @@ -816,7 +816,9 @@ pixels) is kept by adjusting the numbers of the lines and columns." | |||
| 816 | (mapcar #'list | 816 | (mapcar #'list |
| 817 | ;; x-list-fonts will fail with an error | 817 | ;; x-list-fonts will fail with an error |
| 818 | ;; if this frame doesn't support fonts. | 818 | ;; if this frame doesn't support fonts. |
| 819 | (x-list-fonts "*" nil (selected-frame)))))) | 819 | (x-list-fonts "*" nil (selected-frame))) |
| 820 | nil nil nil nil | ||
| 821 | (frame-parameter nil 'font)))) | ||
| 820 | (list font current-prefix-arg))) | 822 | (list font current-prefix-arg))) |
| 821 | (let (fht fwd) | 823 | (let (fht fwd) |
| 822 | (if keep-size | 824 | (if keep-size |