diff options
Diffstat (limited to 'lisp')
| -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 | ||