From fcacb55843700a851e10402c2274d71d5b522349 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Sun, 7 Oct 2012 19:47:41 +0200 Subject: [PATCH] * lisp/term/ns-win.el (ns-read-file-name): Update declaration to match nsfns.m. (ns-respond-to-change-font): Change fontsize separatly so we are sure it is set when font is acted upon. --- lisp/ChangeLog | 7 +++++++ lisp/term/ns-win.el | 7 ++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 64b5d0828cd..718a9417cef 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2012-10-07 Jan Djärv + + * term/ns-win.el (ns-read-file-name): Update declaration to match + nsfns.m. + (ns-respond-to-change-font): Change fontsize separatly so we are sure + it is set when font is acted upon. + 2012-10-07 Fabián Ezequiel Gallina Enhancements to indentation. diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index c229ec14dd5..ebfa35f3f8c 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el @@ -448,7 +448,7 @@ Lines are highlighted according to `ns-input-line'." ;; nsterm.m (declare-function ns-read-file-name "nsfns.m" - (prompt &optional dir isLoad init)) + (prompt &optional dir mustmatch init dir_only_p)) ;;;; File handling. @@ -633,8 +633,9 @@ This function has been overloaded in Nextstep.") `ns-input-fontsize' of new font." (interactive) (modify-frame-parameters (selected-frame) - (list (cons 'font ns-input-font) - (cons 'fontsize ns-input-fontsize))) + (list (cons 'fontsize ns-input-fontsize))) + (modify-frame-parameters (selected-frame) + (list (cons 'font ns-input-font))) (set-frame-font ns-input-font)) -- 2.39.2