emacs.rst
changeset 477 88bb97fd33c5
parent 472 cfe17c4a293b
child 478 d602ea06bb76
equal deleted inserted replaced
476:feaa4d64ad4e 477:88bb97fd33c5
   101 
   101 
   102 ** Determining running environment.
   102 ** Determining running environment.
   103 
   103 
   104 Check such variable:
   104 Check such variable:
   105 
   105 
       
   106   emacs-major-version
       
   107   emacs-minor-version
   106   window-system - 'nil' if in terminal, 'w32' if native Windows build, 'x' if under X Window.
   108   window-system - 'nil' if in terminal, 'w32' if native Windows build, 'x' if under X Window.
   107   window-system-version
   109   window-system-version
   108   emacs-major-version
   110   operating-system-release
   109   emacs-minor-version
   111   system-configuration - like configuration triplet: cpu-manufacturer-os
       
   112   system-name
       
   113   system-time-locale
       
   114   system-type
       
   115   system-uses-terminfo
       
   116   window-size-fixed
   110 
   117 
   111 Run such checks:
   118 Run such checks:
   112 
   119 
   113   (when window-system ...)
   120   (when window-system ...)
   114   (when (eq window-system 'x) ...)
   121   (when (eq window-system 'x) ...)