From cc232200f77c373da233803992a70d2d30bb73ff Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 29 Jun 2011 19:54:16 -0700 Subject: [PATCH] * lisp/term/ns-win.el (ns-set-resource): Declare. --- lisp/ChangeLog | 2 ++ lisp/term/ns-win.el | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b8ba010b1a8..043e12e32e4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2011-06-30 Glenn Morris + * term/ns-win.el (ns-set-resource): Declare. + * ses.el (row, col): Declare dynamic variables honestly. * textmodes/reftex-parse.el (index-tags): Declare. diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index fbf3e91d3d9..447d7fd2533 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el @@ -892,6 +892,7 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.") (declare-function ns-list-services "nsfns.m" ()) (declare-function x-open-connection "nsfns.m" (display &optional xrm-string must-succeed)) +(declare-function ns-set-resource "nsfns.m" (owner name value)) ;; Do the actual Nextstep Windows setup here; the above code just ;; defines functions and variables that we use now. @@ -916,7 +917,7 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.") ;; FIXME: This will surely lead to "MODIFIED OUTSIDE CUSTOM" warnings. (menu-bar-mode (if (get-lisp-resource nil "Menus") 1 -1)) - ;; OS X Lion introduces PressAndHold, which is unsupported by this port. + ;; OS X Lion introduces PressAndHold, which is unsupported by this port. ;; See this thread for more details: ;; http://lists.gnu.org/archive/html/emacs-devel/2011-06/msg00505.html (ns-set-resource nil "ApplePressAndHoldEnabled" "NO") -- 2.39.2