* lisp/term/ns-win.el (ns-read-file-name): Update declaration to match
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 7 Oct 2012 17:47:41 +0000 (19:47 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 7 Oct 2012 17:47:41 +0000 (19:47 +0200)
nsfns.m.
(ns-respond-to-change-font): Change fontsize separatly so we are sure
it is set when font is acted upon.

lisp/ChangeLog
lisp/term/ns-win.el

index 64b5d08..718a941 100644 (file)
@@ -1,3 +1,10 @@
+2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * 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  <fgallina@cuca>
 
        Enhancements to indentation.
index c229ec1..ebfa35f 100644 (file)
@@ -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))