* lisp/term/ns-win.el (ns-set-resource): Declare.
authorGlenn Morris <rgm@gnu.org>
Thu, 30 Jun 2011 02:54:16 +0000 (19:54 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 30 Jun 2011 02:54:16 +0000 (19:54 -0700)
lisp/ChangeLog
lisp/term/ns-win.el

index b8ba010..043e12e 100644 (file)
@@ -1,5 +1,7 @@
 2011-06-30  Glenn Morris  <rgm@gnu.org>
 
+       * term/ns-win.el (ns-set-resource): Declare.
+
        * ses.el (row, col): Declare dynamic variables honestly.
 
        * textmodes/reftex-parse.el (index-tags): Declare.
index fbf3e91..447d7fd 100644 (file)
@@ -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")