• Juanma Barranquero's avatar
    The --quick command line option now ignores X resources and Registry settings. · 8686ac71
    Juanma Barranquero authored
    * etc/NEWS: Mention new behavior of -Q and new variable `inhibit-x-resources'.
    
    * lisp/startup.el (emacs-quick-startup): Remove variable and all uses.
      (command-line): Set `inhibit-x-resources' instead.
      (command-line-1): Use `inhibit-x-resources' instead.
    
    * src/emacs.c (inhibit_x_resources): New variable.
      (main) [HAVE_NS]: Don't process --quick command line option.
      (syms_of_emacs) <inhibit-x-resources>: DEFVAR_BOOL it.
    
    * src/lisp.h (inhibit_x_resources): Declare it extern.
    
    * src/w32reg.c (x_get_string_resource):
    * src/xrdb.c (x_get_string_resource): Obey inhibit_x_resources.
    8686ac71
w32reg.c 4.52 KB