summaryrefslogtreecommitdiff
path: root/lisp/w32-fns.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2005-07-21 10:51:10 +0000
committerJuanma Barranquero <lekktu@gmail.com>2005-07-21 10:51:10 +0000
commit18f09dcb10e870b0e835e3a0dad70a40fa7d78c0 (patch)
tree93115c2a9a8f74df979e60f0fc57688e6918e7ae /lisp/w32-fns.el
parent39aa13800d0457f7fa18bfa73a671621bc78b37a (diff)
downloademacs-18f09dcb10e870b0e835e3a0dad70a40fa7d78c0.tar.gz
(w32-shell-name): Use `bound-and-true-p'.
(x-select-text, set-w32-system-coding-system, w32-add-charset-info): Fix typos in docstrings.
Diffstat (limited to 'lisp/w32-fns.el')
-rw-r--r--lisp/w32-fns.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el
index 28f268bf623..1e7f7b3e154 100644
--- a/lisp/w32-fns.el
+++ b/lisp/w32-fns.el
@@ -1,6 +1,6 @@
;;; w32-fns.el --- Lisp routines for Windows NT
-;; Copyright (C) 1994, 2001, 2004 Free Software Foundation, Inc.
+;; Copyright (C) 1994, 2001, 2004, 2005 Free Software Foundation, Inc.
;; Author: Geoff Voelker <voelker@cs.washington.edu>
;; Keywords: internal
@@ -60,7 +60,7 @@ That includes all Windows systems except for 9X/Me."
(defun w32-shell-name ()
"Return the name of the shell being used."
- (or (and (boundp 'explicit-shell-file-name) explicit-shell-file-name)
+ (or (bound-and-true-p explicit-shell-file-name)
(getenv "ESHELL")
(getenv "SHELL")
(and (w32-using-nt) "cmd.exe")
@@ -272,7 +272,7 @@ shell requires it (see `w32-shell-dos-semantics')."
(defun set-w32-system-coding-system (coding-system)
"Set the coding system used by the Windows system to CODING-SYSTEM.
This is used for things like passing font names with non-ASCII
-characters in them to the system. For a list of possible values of
+characters in them to the system. For a list of possible values of
CODING-SYSTEM, use \\[list-coding-systems].
This function is provided for backward compatibility, since
@@ -355,8 +355,8 @@ This function is provided for backward compatibility, since
Creates entries in `w32-charset-info-alist'.
XLFD-CHARSET is a string which will appear in the XLFD font name to
identify the character set. WINDOWS-CHARSET is a symbol identifying
-the Windows character set this maps to. For the list of possible
-values, see the documentation for `w32-charset-info-alist'. CODEPAGE
+the Windows character set this maps to. For the list of possible
+values, see the documentation for `w32-charset-info-alist'. CODEPAGE
can be a numeric codepage that Windows uses to display the character
set, t for Unicode output with no codepage translation or nil for 8
bit output with no translation."
@@ -421,7 +421,7 @@ bit output with no translation."
(defun x-select-text (text &optional push)
"Make TEXT the last selected text.
If `x-select-enable-clipboard' is non-nil, copy the text to the system
-clipboard as well. Optional PUSH is ignored on Windows."
+clipboard as well. Optional PUSH is ignored on Windows."
(if x-select-enable-clipboard
(w32-set-clipboard-data text))
(setq x-last-selected-text text))