diff options
| author | Richard M. Stallman | 1997-08-07 17:33:49 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-08-07 17:33:49 +0000 |
| commit | cee30b8f9d1a148098c9cd532bc3ca8e339e41af (patch) | |
| tree | adeba44cfa44452965292e72c79c25186401cadc | |
| parent | 020c35677053cf7492196f97f95b3a438b7d638a (diff) | |
| download | emacs-cee30b8f9d1a148098c9cd532bc3ca8e339e41af.tar.gz emacs-cee30b8f9d1a148098c9cd532bc3ca8e339e41af.zip | |
(x-list-fonts): Return "default" when appropriate.
(query-fontset): Add (alternative) alias definition.
| -rw-r--r-- | lisp/term/pc-win.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/term/pc-win.el b/lisp/term/pc-win.el index fccb693c452..8ee6a0b88de 100644 --- a/lisp/term/pc-win.el +++ b/lisp/term/pc-win.el | |||
| @@ -260,7 +260,10 @@ | |||
| 260 | 260 | ||
| 261 | ;; From src/xfns.c | 261 | ;; From src/xfns.c |
| 262 | (defun x-display-color-p (&optional display) 't) | 262 | (defun x-display-color-p (&optional display) 't) |
| 263 | (defun x-list-fonts (pattern &optional face frame) (list "default")) | 263 | (defun x-list-fonts (pattern &optional face frame maximum width) |
| 264 | (if (and (numberp width) (= width 1)) | ||
| 265 | (list "default") | ||
| 266 | (list "no-such-font"))) | ||
| 264 | (defun x-color-defined-p (color) (numberp (msdos-color-translate color))) | 267 | (defun x-color-defined-p (color) (numberp (msdos-color-translate color))) |
| 265 | (defun x-display-pixel-width (&optional frame) (frame-width frame)) | 268 | (defun x-display-pixel-width (&optional frame) (frame-width frame)) |
| 266 | (defun x-display-pixel-height (&optional frame) (frame-height frame)) | 269 | (defun x-display-pixel-height (&optional frame) (frame-height frame)) |
| @@ -351,6 +354,9 @@ This is in addition to the primary selection.") | |||
| 351 | (defun x-frob-font-slant (font which) | 354 | (defun x-frob-font-slant (font which) |
| 352 | font) | 355 | font) |
| 353 | 356 | ||
| 357 | ;; From src/fontset.c: | ||
| 358 | (fset 'query-fontset 'ignore) | ||
| 359 | |||
| 354 | ;; From lisp/term/x-win.el: make iconify-or-deiconify-frame a no-op. | 360 | ;; From lisp/term/x-win.el: make iconify-or-deiconify-frame a no-op. |
| 355 | (fset 'iconify-or-deiconify-frame 'ignore) | 361 | (fset 'iconify-or-deiconify-frame 'ignore) |
| 356 | 362 | ||