aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2014-03-15 19:12:54 +0100
committerJuanma Barranquero2014-03-15 19:12:54 +0100
commita2403e3d8edc2543a2dc8968682e50bd8e7f979a (patch)
tree7396cd55f0b02900f9b954b59848fd56f0dfadf0
parentfd16b061a9e6e89c905a7d7813867090622969e9 (diff)
downloademacs-a2403e3d8edc2543a2dc8968682e50bd8e7f979a.tar.gz
emacs-a2403e3d8edc2543a2dc8968682e50bd8e7f979a.zip
lisp/term/ns-win.el (x-command-line-resources): Rename from ns-... version.
(ns-initialize-window-system): Use it. It is set in term/common-win.el from the -xrm command line argument, but in the Nextstep port its value is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/term/ns-win.el5
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 33d203e121f..75cf239ef33 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,11 @@
12014-03-15 Juanma Barranquero <lekktu@gmail.com> 12014-03-15 Juanma Barranquero <lekktu@gmail.com>
2 2
3 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
4 for compatibility with other ports.
5 (ns-initialize-window-system): Use it. It is set in term/common-win.el
6 from the -xrm command line argument, but in the Nextstep port its value
7 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
8
3 * progmodes/python.el (defconst, python-syntax-count-quotes) 9 * progmodes/python.el (defconst, python-syntax-count-quotes)
4 (python-indent-region, python-indent-shift-right) 10 (python-indent-region, python-indent-shift-right)
5 (python-indent-dedent-line-backspace, python-nav-backward-sexp) 11 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index d91b594671f..47d953aebfb 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -59,7 +59,8 @@
59;;;; Command line argument handling. 59;;;; Command line argument handling.
60 60
61(defvar x-invocation-args) 61(defvar x-invocation-args)
62(defvar ns-command-line-resources nil) ; FIXME unused? 62;; Set in term/common-win.el; currently unused by Nextstep's x-open-connection.
63(defvar x-command-line-resources)
63 64
64;; nsterm.m. 65;; nsterm.m.
65(defvar ns-input-file) 66(defvar ns-input-file)
@@ -902,7 +903,7 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
902 (format "Creation of the standard fontset failed: %s" err) 903 (format "Creation of the standard fontset failed: %s" err)
903 :error))) 904 :error)))
904 905
905 (x-open-connection (system-name) nil t) 906 (x-open-connection (system-name) x-command-line-resources t)
906 907
907 ;; Add GNUstep menu items Services, Hide and Quit. Rename Help to Info 908 ;; Add GNUstep menu items Services, Hide and Quit. Rename Help to Info
908 ;; and put it first (i.e. omit from menu-bar-final-items. 909 ;; and put it first (i.e. omit from menu-bar-final-items.