Commit cd93b359 authored by David Reitter's avatar David Reitter
Browse files

ns-win: set ApplePressAndHoldEnabled to NO as it is unsupported.

This is in preparation for OS X "Lion"; it is a stop-gap solution
until this new input mechanism is supported correctly.
parent a9041e6c
2011-06-21 Tim Harper <timcharper@gmail.com>
* term/ns-win.el (ns-initialize-window-system): set
application-specific `ApplePressAndHoldEnabled' system
resource to NO as it is not yet supported by the NS port.
2011-06-21 Juanma Barranquero <lekktu@gmail.com> 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
* misc.el (list-dynamic-libraries--refresh): Compute header here... * misc.el (list-dynamic-libraries--refresh): Compute header here...
......
...@@ -916,6 +916,11 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.") ...@@ -916,6 +916,11 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
;; FIXME: This will surely lead to "MODIFIED OUTSIDE CUSTOM" warnings. ;; FIXME: This will surely lead to "MODIFIED OUTSIDE CUSTOM" warnings.
(menu-bar-mode (if (get-lisp-resource nil "Menus") 1 -1)) (menu-bar-mode (if (get-lisp-resource nil "Menus") 1 -1))
;; 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")
(setq ns-initialized t)) (setq ns-initialized t))
(add-to-list 'handle-args-function-alist '(ns . x-handle-args)) (add-to-list 'handle-args-function-alist '(ns . x-handle-args))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment