diff options
| author | Mattias EngdegÄrd | 2023-04-28 15:03:47 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2023-04-28 15:03:47 +0200 |
| commit | 6ebce84ff2b4e488fbffaa0f7cc2b06580557bf7 (patch) | |
| tree | 98d4a4b0c99370f188e341d53afe90386e175ca6 /lisp/emulation | |
| parent | a57a8b75f50bca3b724d3f49c87aba7a9121bf13 (diff) | |
| download | emacs-6ebce84ff2b4e488fbffaa0f7cc2b06580557bf7.tar.gz emacs-6ebce84ff2b4e488fbffaa0f7cc2b06580557bf7.zip | |
Use t for non-nil default values in boolean defcustom declarations
* lisp/emulation/viper-ex.el (ex-unix-type-shell):
* lisp/emulation/viper-init.el (viper-ms-style-os-p):
* lisp/eshell/em-glob.el (eshell-glob-case-insensitive):
* lisp/filecache.el (file-cache-ignore-case):
* lisp/lpr.el (lpr-add-switches):
* lisp/ls-lisp.el (ls-lisp-ignore-case):
* lisp/mail/binhex.el (binhex-use-external):
* lisp/progmodes/cperl-mode.el (cperl-electric-parens-mark):
Normalise default values to nil or t.
Diffstat (limited to 'lisp/emulation')
| -rw-r--r-- | lisp/emulation/viper-ex.el | 3 | ||||
| -rw-r--r-- | lisp/emulation/viper-init.el | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lisp/emulation/viper-ex.el b/lisp/emulation/viper-ex.el index 783c01058e2..ecbcace2dd4 100644 --- a/lisp/emulation/viper-ex.el +++ b/lisp/emulation/viper-ex.el | |||
| @@ -294,7 +294,8 @@ | |||
| 294 | "\\|" | 294 | "\\|" |
| 295 | "bash$\\|bash.exe$" | 295 | "bash$\\|bash.exe$" |
| 296 | "\\)") | 296 | "\\)") |
| 297 | shell-file-name))) | 297 | shell-file-name) |
| 298 | t)) | ||
| 298 | "Is the user using a unix-type shell under a non-OS?" | 299 | "Is the user using a unix-type shell under a non-OS?" |
| 299 | :type 'boolean) | 300 | :type 'boolean) |
| 300 | 301 | ||
diff --git a/lisp/emulation/viper-init.el b/lisp/emulation/viper-init.el index 986d1fe6bc6..c39e3cf5142 100644 --- a/lisp/emulation/viper-init.el +++ b/lisp/emulation/viper-init.el | |||
| @@ -47,7 +47,8 @@ | |||
| 47 | (defun viper-window-display-p () | 47 | (defun viper-window-display-p () |
| 48 | (and window-system (not (memq window-system '(tty stream pc))))) | 48 | (and window-system (not (memq window-system '(tty stream pc))))) |
| 49 | 49 | ||
| 50 | (defcustom viper-ms-style-os-p (memq system-type '(ms-dos windows-nt)) | 50 | (defcustom viper-ms-style-os-p |
| 51 | (not (not (memq system-type '(ms-dos windows-nt)))) | ||
| 51 | "Non-nil if Emacs is running under an MS-style OS: MS-DOS, or MS-Windows." | 52 | "Non-nil if Emacs is running under an MS-style OS: MS-DOS, or MS-Windows." |
| 52 | :type 'boolean | 53 | :type 'boolean |
| 53 | :tag "Is it Microsoft-made OS?" | 54 | :tag "Is it Microsoft-made OS?" |