diff options
| author | Stefan Kangas | 2020-05-03 16:17:08 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2020-05-03 16:17:20 +0200 |
| commit | b82dbba5e0d0e35e8944e517f05f726ac70fd43d (patch) | |
| tree | 5e616fc0cb2d2d77357b1202a767c2e0d323e2eb | |
| parent | cb1e73d1bc964f61626955e950e660602f2014f5 (diff) | |
| download | emacs-b82dbba5e0d0e35e8944e517f05f726ac70fd43d.tar.gz emacs-b82dbba5e0d0e35e8944e517f05f726ac70fd43d.zip | |
Use lexical-binding in w32-vars.el
* lisp/w32-vars.el: Use lexical-binding.
(w32-use-w32-font-dialog, w32-allow-system-shell
(w32-system-shells, w32-fixed-font-alist): Remove redundant :group
args.
| -rw-r--r-- | lisp/w32-vars.el | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/lisp/w32-vars.el b/lisp/w32-vars.el index 307490dc4b0..642a48446ef 100644 --- a/lisp/w32-vars.el +++ b/lisp/w32-vars.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; w32-vars.el --- MS-Windows specific user options | 1 | ;;; w32-vars.el --- MS-Windows specific user options -*- lexical-binding:t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2002-2020 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2002-2020 Free Software Foundation, Inc. |
| 4 | 4 | ||
| @@ -44,22 +44,19 @@ after changing the value of this variable." | |||
| 44 | :type 'boolean | 44 | :type 'boolean |
| 45 | :set (lambda (symbol value) | 45 | :set (lambda (symbol value) |
| 46 | (set symbol value) | 46 | (set symbol value) |
| 47 | (setq mouse-appearance-menu-map nil)) | 47 | (setq mouse-appearance-menu-map nil))) |
| 48 | :group 'w32) | ||
| 49 | 48 | ||
| 50 | (unless (eq system-type 'cygwin) | 49 | (unless (eq system-type 'cygwin) |
| 51 | (defcustom w32-allow-system-shell nil | 50 | (defcustom w32-allow-system-shell nil |
| 52 | "Disable startup warning when using \"system\" shells." | 51 | "Disable startup warning when using \"system\" shells." |
| 53 | :type 'boolean | 52 | :type 'boolean)) |
| 54 | :group 'w32)) | ||
| 55 | 53 | ||
| 56 | (unless (eq system-type 'cygwin) | 54 | (unless (eq system-type 'cygwin) |
| 57 | (defcustom w32-system-shells '("cmd" "cmd.exe" "command" "command.com" | 55 | (defcustom w32-system-shells '("cmd" "cmd.exe" "command" "command.com" |
| 58 | "4nt" "4nt.exe" "4dos" "4dos.exe" | 56 | "4nt" "4nt.exe" "4dos" "4dos.exe" |
| 59 | "tcc" "tcc.exe" "ndos" "ndos.exe") | 57 | "tcc" "tcc.exe" "ndos" "ndos.exe") |
| 60 | "List of strings recognized as Windows system shells." | 58 | "List of strings recognized as Windows system shells." |
| 61 | :type '(repeat string) | 59 | :type '(repeat string))) |
| 62 | :group 'w32)) | ||
| 63 | 60 | ||
| 64 | ;; Want "menu" custom type for this. | 61 | ;; Want "menu" custom type for this. |
| 65 | (defcustom w32-fixed-font-alist | 62 | (defcustom w32-fixed-font-alist |
| @@ -149,8 +146,7 @@ menu if the variable `w32-use-w32-font-dialog' is nil." | |||
| 149 | (const :tag "Separator" ("")) | 146 | (const :tag "Separator" ("")) |
| 150 | (list :tag "Font Entry" | 147 | (list :tag "Font Entry" |
| 151 | (string :tag "Menu text") | 148 | (string :tag "Menu text") |
| 152 | (string :tag "Font"))))))) | 149 | (string :tag "Font")))))))) |
| 153 | :group 'w32) | ||
| 154 | 150 | ||
| 155 | (make-obsolete-variable 'w32-enable-synthesized-fonts nil "24.4") | 151 | (make-obsolete-variable 'w32-enable-synthesized-fonts nil "24.4") |
| 156 | 152 | ||