diff options
| author | Juanma Barranquero | 2008-11-14 13:05:18 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-11-14 13:05:18 +0000 |
| commit | 8fc29035f39226e4c9154132fa57d57559ee4c22 (patch) | |
| tree | 55ff7eaaeb8f2c367823bac20576acbcee9c1284 | |
| parent | 55fb4286284a2a49da905fdd47bdcd40ac8b6c47 (diff) | |
| download | emacs-8fc29035f39226e4c9154132fa57d57559ee4c22.tar.gz emacs-8fc29035f39226e4c9154132fa57d57559ee4c22.zip | |
* w32-fns.el (w32-shell-dos-semantics):
* calendar/diary-lib.el (diary-face-attrs):
* international/mule-cmds.el (set-default-coding-systems)
(prefer-coding-system):
* net/tramp.el (tramp-set-completion-function):
* progmodes/vhdl-mode.el (vhdl-file-header):
* term/pc-win.el (msdos-show-help): Fix typos in docstrings.
* emacs-lisp/authors.el (authors-fixed-entries): Fix typo in value.
* files.el (enable-local-eval, not-modified, kill-buffer-ask)
(kill-matching-buffers, save-buffers-kill-emacs)
(save-buffers-kill-terminal): Fix typos in docstrings.
(switch-to-buffer-other-window): Reflow docstring.
(revert-buffer): Doc fix.
(define-project-bindings): Rename arg LIST to SETTINGS.
(project-find-settings-file): Use `let', not `let*'. Use `when'.
| -rw-r--r-- | lisp/ChangeLog | 21 | ||||
| -rw-r--r-- | lisp/calendar/diary-lib.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/authors.el | 2 | ||||
| -rw-r--r-- | lisp/files.el | 44 | ||||
| -rw-r--r-- | lisp/international/mule-cmds.el | 4 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/vhdl-mode.el | 2 | ||||
| -rw-r--r-- | lisp/term/pc-win.el | 2 | ||||
| -rw-r--r-- | lisp/w32-fns.el | 2 | ||||
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/dosfns.c | 2 | ||||
| -rw-r--r-- | src/msdos.c | 4 |
12 files changed, 60 insertions, 33 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2a336a15d54..f0ae8992dbf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,24 @@ | |||
| 1 | 2008-11-14 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * w32-fns.el (w32-shell-dos-semantics): | ||
| 4 | * calendar/diary-lib.el (diary-face-attrs): | ||
| 5 | * international/mule-cmds.el (set-default-coding-systems) | ||
| 6 | (prefer-coding-system): | ||
| 7 | * net/tramp.el (tramp-set-completion-function): | ||
| 8 | * progmodes/vhdl-mode.el (vhdl-file-header): | ||
| 9 | * term/pc-win.el (msdos-show-help): Fix typos in docstrings. | ||
| 10 | |||
| 11 | * emacs-lisp/authors.el (authors-fixed-entries): Fix typo in value. | ||
| 12 | |||
| 13 | * files.el (enable-local-eval, not-modified, kill-buffer-ask) | ||
| 14 | (kill-matching-buffers, save-buffers-kill-emacs) | ||
| 15 | (save-buffers-kill-terminal): Fix typos in docstrings. | ||
| 16 | (switch-to-buffer-other-window): Reflow docstring. | ||
| 17 | (revert-buffer): Doc fix. | ||
| 18 | (define-project-bindings): Rename arg LIST to SETTINGS. | ||
| 19 | (project-find-settings-file): Use `let', not `let*'. | ||
| 20 | Use `when'. | ||
| 21 | |||
| 1 | 2008-11-13 Juanma Barranquero <lekktu@gmail.com> | 22 | 2008-11-13 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 23 | ||
| 3 | * files.el (project-settings-file, locate-dominating-file): | 24 | * files.el (project-settings-file, locate-dominating-file): |
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index 86ec36b4b61..d88144559ea 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el | |||
| @@ -106,7 +106,7 @@ is pre-pended to REGEXP for file-wide specifiers. ATTRIBUTE | |||
| 106 | specifies which face attribute (e.g. `:foreground') to modify, or | 106 | specifies which face attribute (e.g. `:foreground') to modify, or |
| 107 | that this is a face (`:face') to apply. TYPE is the type of | 107 | that this is a face (`:face') to apply. TYPE is the type of |
| 108 | attribute being applied. Available TYPES (see `diary-attrtype-convert') | 108 | attribute being applied. Available TYPES (see `diary-attrtype-convert') |
| 109 | are: `string', `symbol', `int', `tnil',`stringtnil.'" | 109 | are: `string', `symbol', `int', `tnil', `stringtnil.'" |
| 110 | :type '(repeat (list (string :tag "Regular expression") | 110 | :type '(repeat (list (string :tag "Regular expression") |
| 111 | (integer :tag "Sub-expression") | 111 | (integer :tag "Sub-expression") |
| 112 | (symbol :tag "Attribute (e.g. :foreground)") | 112 | (symbol :tag "Attribute (e.g. :foreground)") |
diff --git a/lisp/emacs-lisp/authors.el b/lisp/emacs-lisp/authors.el index ce59a938395..8af755c093e 100644 --- a/lisp/emacs-lisp/authors.el +++ b/lisp/emacs-lisp/authors.el | |||
| @@ -273,7 +273,7 @@ Changes to files in this list are not listed.") | |||
| 273 | ("Geoff Voelker" :wrote "src/makefile.nt" "lisp/makefile.nt" "winnt.el" | 273 | ("Geoff Voelker" :wrote "src/makefile.nt" "lisp/makefile.nt" "winnt.el" |
| 274 | "nt.c" "nt.h" "ntheap.c" "ntheap.h" "ntinevt.c" | 274 | "nt.c" "nt.h" "ntheap.c" "ntheap.h" "ntinevt.c" |
| 275 | "ntproc.c" "ntterm.c" "windowsnt.h") | 275 | "ntproc.c" "ntterm.c" "windowsnt.h") |
| 276 | ("Morten Welinder" :wrote "dosfns.c" "[many MSDOS files]" "msdos.h") | 276 | ("Morten Welinder" :wrote "dosfns.c" "[many MS-DOS files]" "msdos.h") |
| 277 | ("Pace Willisson" :wrote "ispell.el") | 277 | ("Pace Willisson" :wrote "ispell.el") |
| 278 | ("Garrett Wollman" :changed "sendmail.el") | 278 | ("Garrett Wollman" :changed "sendmail.el") |
| 279 | ("Dale R. Worley" :changed "mail-extr.el") | 279 | ("Dale R. Worley" :changed "mail-extr.el") |
diff --git a/lisp/files.el b/lisp/files.el index 6c45abeb3ee..ff6d1847523 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -487,7 +487,7 @@ specified in a -*- line.") | |||
| 487 | (defcustom enable-local-eval 'maybe | 487 | (defcustom enable-local-eval 'maybe |
| 488 | "Control processing of the \"variable\" `eval' in a file's local variables. | 488 | "Control processing of the \"variable\" `eval' in a file's local variables. |
| 489 | The value can be t, nil or something else. | 489 | The value can be t, nil or something else. |
| 490 | A value of t means obey `eval' variables; | 490 | A value of t means obey `eval' variables. |
| 491 | A value of nil means ignore them; anything else means query." | 491 | A value of nil means ignore them; anything else means query." |
| 492 | :type '(choice (const :tag "Obey" t) | 492 | :type '(choice (const :tag "Obey" t) |
| 493 | (const :tag "Ignore" nil) | 493 | (const :tag "Ignore" nil) |
| @@ -1116,8 +1116,8 @@ creates a buffer with that name. | |||
| 1116 | When called from Lisp, BUFFER can be a buffer, a string \(a buffer name), | 1116 | When called from Lisp, BUFFER can be a buffer, a string \(a buffer name), |
| 1117 | or nil. If BUFFER is nil, then this function chooses a buffer | 1117 | or nil. If BUFFER is nil, then this function chooses a buffer |
| 1118 | using `other-buffer'. | 1118 | using `other-buffer'. |
| 1119 | Optional second arg NORECORD non-nil means | 1119 | Optional second arg NORECORD non-nil means do not put this |
| 1120 | do not put this buffer at the front of the list of recently selected ones. | 1120 | buffer at the front of the list of recently selected ones. |
| 1121 | This function returns the buffer it switched to. | 1121 | This function returns the buffer it switched to. |
| 1122 | 1122 | ||
| 1123 | This uses the function `display-buffer' as a subroutine; see its | 1123 | This uses the function `display-buffer' as a subroutine; see its |
| @@ -3167,11 +3167,11 @@ for a class are defined using `define-project-bindings'." | |||
| 3167 | (error "No such project class `%s'" (symbol-name class))) | 3167 | (error "No such project class `%s'" (symbol-name class))) |
| 3168 | (push (cons directory class) project-directory-alist)) | 3168 | (push (cons directory class) project-directory-alist)) |
| 3169 | 3169 | ||
| 3170 | (defun define-project-bindings (class list) | 3170 | (defun define-project-bindings (class settings) |
| 3171 | "Map the project type CLASS to a list of variable settings. | 3171 | "Map the project type CLASS to a list of variable settings. |
| 3172 | CLASS is the project class, a symbol. | 3172 | CLASS is the project class, a symbol. |
| 3173 | LIST is a list that declares variable settings for the class. | 3173 | SETTINGS is a list that declares variable settings for the class. |
| 3174 | An element in LIST is either of the form: | 3174 | An element in SETTINGS is either of the form: |
| 3175 | (MAJOR-MODE . ALIST) | 3175 | (MAJOR-MODE . ALIST) |
| 3176 | or | 3176 | or |
| 3177 | (DIRECTORY . LIST) | 3177 | (DIRECTORY . LIST) |
| @@ -3199,8 +3199,8 @@ LIST. The list is processed in order. | |||
| 3199 | applied by recursively following these rules." | 3199 | applied by recursively following these rules." |
| 3200 | (let ((elt (assq class project-class-alist))) | 3200 | (let ((elt (assq class project-class-alist))) |
| 3201 | (if elt | 3201 | (if elt |
| 3202 | (setcdr elt list) | 3202 | (setcdr elt settings) |
| 3203 | (push (cons class list) project-class-alist)))) | 3203 | (push (cons class settings) project-class-alist)))) |
| 3204 | 3204 | ||
| 3205 | (defcustom project-settings-file ".dir-settings.el" | 3205 | (defcustom project-settings-file ".dir-settings.el" |
| 3206 | "Settings file for per-project settings. | 3206 | "Settings file for per-project settings. |
| @@ -3219,11 +3219,11 @@ If the file is in a registered project, a cons from | |||
| 3219 | Otherwise this returns nil." | 3219 | Otherwise this returns nil." |
| 3220 | (when project-settings-file | 3220 | (when project-settings-file |
| 3221 | (setq file (expand-file-name file)) | 3221 | (setq file (expand-file-name file)) |
| 3222 | (let* ((settings (locate-dominating-file file project-settings-file)) | 3222 | (let ((settings (locate-dominating-file file project-settings-file)) |
| 3223 | (pda nil)) | 3223 | (pda nil)) |
| 3224 | ;; `locate-dominating-file' may have abbreviated the name. | 3224 | ;; `locate-dominating-file' may have abbreviated the name. |
| 3225 | (if settings | 3225 | (when settings |
| 3226 | (setq settings (expand-file-name project-settings-file settings))) | 3226 | (setq settings (expand-file-name project-settings-file settings))) |
| 3227 | (dolist (x project-directory-alist) | 3227 | (dolist (x project-directory-alist) |
| 3228 | (when (and (eq t (compare-strings file nil (length (car x)) | 3228 | (when (and (eq t (compare-strings file nil (length (car x)) |
| 3229 | (car x) nil nil)) | 3229 | (car x) nil nil)) |
| @@ -4331,7 +4331,7 @@ change the additional actions you can take on files." | |||
| 4331 | 4331 | ||
| 4332 | (defun not-modified (&optional arg) | 4332 | (defun not-modified (&optional arg) |
| 4333 | "Mark current buffer as unmodified, not needing to be saved. | 4333 | "Mark current buffer as unmodified, not needing to be saved. |
| 4334 | With prefix arg, mark buffer as modified, so \\[save-buffer] will save. | 4334 | With prefix ARG, mark buffer as modified, so \\[save-buffer] will save. |
| 4335 | 4335 | ||
| 4336 | It is not a good idea to use this function in Lisp programs, because it | 4336 | It is not a good idea to use this function in Lisp programs, because it |
| 4337 | prints a message in the minibuffer. Instead, use `set-buffer-modified-p'." | 4337 | prints a message in the minibuffer. Instead, use `set-buffer-modified-p'." |
| @@ -4514,9 +4514,9 @@ that is more recent than the visited file. | |||
| 4514 | This command also implements an interface for special buffers | 4514 | This command also implements an interface for special buffers |
| 4515 | that contain text which doesn't come from a file, but reflects | 4515 | that contain text which doesn't come from a file, but reflects |
| 4516 | some other data instead (e.g. Dired buffers, `buffer-list' | 4516 | some other data instead (e.g. Dired buffers, `buffer-list' |
| 4517 | buffers). This is done via the variable | 4517 | buffers). This is done via the variable `revert-buffer-function'. |
| 4518 | `revert-buffer-function'. In these cases, it should reconstruct | 4518 | In these cases, it should reconstruct the buffer contents from the |
| 4519 | the buffer contents from the appropriate data. | 4519 | appropriate data. |
| 4520 | 4520 | ||
| 4521 | When called from Lisp, the first argument is IGNORE-AUTO; only offer | 4521 | When called from Lisp, the first argument is IGNORE-AUTO; only offer |
| 4522 | to revert from the auto-save file when this is nil. Note that the | 4522 | to revert from the auto-save file when this is nil. Note that the |
| @@ -4524,8 +4524,8 @@ sense of this argument is the reverse of the prefix argument, for the | |||
| 4524 | sake of backward compatibility. IGNORE-AUTO is optional, defaulting | 4524 | sake of backward compatibility. IGNORE-AUTO is optional, defaulting |
| 4525 | to nil. | 4525 | to nil. |
| 4526 | 4526 | ||
| 4527 | Optional second argument NOCONFIRM means don't ask for confirmation at | 4527 | Optional second argument NOCONFIRM means don't ask for confirmation |
| 4528 | all. \(The variable `revert-without-query' offers another way to | 4528 | at all. \(The variable `revert-without-query' offers another way to |
| 4529 | revert buffers without querying for confirmation.) | 4529 | revert buffers without querying for confirmation.) |
| 4530 | 4530 | ||
| 4531 | Optional third argument PRESERVE-MODES non-nil means don't alter | 4531 | Optional third argument PRESERVE-MODES non-nil means don't alter |
| @@ -4804,7 +4804,7 @@ This command is used in the special Dired buffer created by | |||
| 4804 | (kill-buffer buffer)))) | 4804 | (kill-buffer buffer)))) |
| 4805 | 4805 | ||
| 4806 | (defun kill-buffer-ask (buffer) | 4806 | (defun kill-buffer-ask (buffer) |
| 4807 | "Kill buffer if confirmed." | 4807 | "Kill BUFFER if confirmed." |
| 4808 | (when (yes-or-no-p | 4808 | (when (yes-or-no-p |
| 4809 | (format "Buffer %s %s. Kill? " (buffer-name buffer) | 4809 | (format "Buffer %s %s. Kill? " (buffer-name buffer) |
| 4810 | (if (buffer-modified-p buffer) | 4810 | (if (buffer-modified-p buffer) |
| @@ -4829,7 +4829,7 @@ specifies the list of buffers to kill, asking for approval for each one." | |||
| 4829 | (setq list (cdr list)))) | 4829 | (setq list (cdr list)))) |
| 4830 | 4830 | ||
| 4831 | (defun kill-matching-buffers (regexp &optional internal-too) | 4831 | (defun kill-matching-buffers (regexp &optional internal-too) |
| 4832 | "Kill buffers whose name matches the specified regexp. | 4832 | "Kill buffers whose name matches the specified REGEXP. |
| 4833 | The optional second argument indicates whether to kill internal buffers too." | 4833 | The optional second argument indicates whether to kill internal buffers too." |
| 4834 | (interactive "sKill buffers matching this regular expression: \nP") | 4834 | (interactive "sKill buffers matching this regular expression: \nP") |
| 4835 | (dolist (buffer (buffer-list)) | 4835 | (dolist (buffer (buffer-list)) |
| @@ -5623,7 +5623,7 @@ be a predicate function such as `yes-or-no-p'." | |||
| 5623 | 5623 | ||
| 5624 | (defun save-buffers-kill-emacs (&optional arg) | 5624 | (defun save-buffers-kill-emacs (&optional arg) |
| 5625 | "Offer to save each buffer, then kill this Emacs process. | 5625 | "Offer to save each buffer, then kill this Emacs process. |
| 5626 | With prefix arg, silently save all file-visiting buffers, then kill." | 5626 | With prefix ARG, silently save all file-visiting buffers, then kill." |
| 5627 | (interactive "P") | 5627 | (interactive "P") |
| 5628 | (save-some-buffers arg t) | 5628 | (save-some-buffers arg t) |
| 5629 | (and (or (not (memq t (mapcar (function | 5629 | (and (or (not (memq t (mapcar (function |
| @@ -5653,7 +5653,7 @@ With prefix arg, silently save all file-visiting buffers, then kill." | |||
| 5653 | "Offer to save each buffer, then kill the current connection. | 5653 | "Offer to save each buffer, then kill the current connection. |
| 5654 | If the current frame has no client, kill Emacs itself. | 5654 | If the current frame has no client, kill Emacs itself. |
| 5655 | 5655 | ||
| 5656 | With prefix arg, silently save all file-visiting buffers, then kill. | 5656 | With prefix ARG, silently save all file-visiting buffers, then kill. |
| 5657 | 5657 | ||
| 5658 | If emacsclient was started with a list of filenames to edit, then | 5658 | If emacsclient was started with a list of filenames to edit, then |
| 5659 | only these files will be asked to be saved." | 5659 | only these files will be asked to be saved." |
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index c7ac9f4f7f1..75ba2f026fc 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -330,7 +330,7 @@ This sets the following coding systems: | |||
| 330 | This also sets the following values: | 330 | This also sets the following values: |
| 331 | o default value used as `file-name-coding-system' for converting file names | 331 | o default value used as `file-name-coding-system' for converting file names |
| 332 | if CODING-SYSTEM is ASCII-compatible | 332 | if CODING-SYSTEM is ASCII-compatible |
| 333 | o default value for the command `set-terminal-coding-system' (not on MSDOS) | 333 | o default value for the command `set-terminal-coding-system' (not on MS-DOS) |
| 334 | o default value for the command `set-keyboard-coding-system' | 334 | o default value for the command `set-keyboard-coding-system' |
| 335 | if CODING-SYSTEM is ASCII-compatible" | 335 | if CODING-SYSTEM is ASCII-compatible" |
| 336 | (check-coding-system coding-system) | 336 | (check-coding-system coding-system) |
| @@ -370,7 +370,7 @@ This also sets the following coding systems: | |||
| 370 | o default coding system for subprocess I/O | 370 | o default coding system for subprocess I/O |
| 371 | This also sets the following values: | 371 | This also sets the following values: |
| 372 | o default value used as `file-name-coding-system' for converting file names | 372 | o default value used as `file-name-coding-system' for converting file names |
| 373 | o default value for the command `set-terminal-coding-system' (not on MSDOS) | 373 | o default value for the command `set-terminal-coding-system' (not on MS-DOS) |
| 374 | o default value for the command `set-keyboard-coding-system' | 374 | o default value for the command `set-keyboard-coding-system' |
| 375 | 375 | ||
| 376 | If CODING-SYSTEM specifies a certain type of EOL conversion, the coding | 376 | If CODING-SYSTEM specifies a certain type of EOL conversion, the coding |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 84917dc8dfd..218cef7734e 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -2029,7 +2029,7 @@ FUNCTION-LIST is a list of entries of the form (FUNCTION FILE). | |||
| 2029 | The FUNCTION is intended to parse FILE according its syntax. | 2029 | The FUNCTION is intended to parse FILE according its syntax. |
| 2030 | It might be a predefined FUNCTION, or a user defined FUNCTION. | 2030 | It might be a predefined FUNCTION, or a user defined FUNCTION. |
| 2031 | Predefined FUNCTIONs are `tramp-parse-rhosts', `tramp-parse-shosts', | 2031 | Predefined FUNCTIONs are `tramp-parse-rhosts', `tramp-parse-shosts', |
| 2032 | `tramp-parse-sconfig',`tramp-parse-hosts', `tramp-parse-passwd', | 2032 | `tramp-parse-sconfig', `tramp-parse-hosts', `tramp-parse-passwd', |
| 2033 | and `tramp-parse-netrc'. | 2033 | and `tramp-parse-netrc'. |
| 2034 | 2034 | ||
| 2035 | Example: | 2035 | Example: |
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index e4de2380af0..61c75ee60cd 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el | |||
| @@ -933,7 +933,7 @@ if the header needs to be version controlled. | |||
| 933 | The following keywords for template generation are supported: | 933 | The following keywords for template generation are supported: |
| 934 | <filename> : replaced by the name of the buffer | 934 | <filename> : replaced by the name of the buffer |
| 935 | <author> : replaced by the user name and email address | 935 | <author> : replaced by the user name and email address |
| 936 | \(`user-full-name',`mail-host-address', `user-mail-address') | 936 | \(`user-full-name', `mail-host-address', `user-mail-address') |
| 937 | <login> : replaced by user login name (`user-login-name') | 937 | <login> : replaced by user login name (`user-login-name') |
| 938 | <company> : replaced by contents of option `vhdl-company-name' | 938 | <company> : replaced by contents of option `vhdl-company-name' |
| 939 | <date> : replaced by the current date | 939 | <date> : replaced by the current date |
diff --git a/lisp/term/pc-win.el b/lisp/term/pc-win.el index 7b3516ec870..855642a3d2a 100644 --- a/lisp/term/pc-win.el +++ b/lisp/term/pc-win.el | |||
| @@ -259,7 +259,7 @@ are fixed-pitch." | |||
| 259 | "The content of the echo area before help echo was displayed.") | 259 | "The content of the echo area before help echo was displayed.") |
| 260 | 260 | ||
| 261 | (defun msdos-show-help (help) | 261 | (defun msdos-show-help (help) |
| 262 | "Function installed as `show-help-function' on MSDOS frames." | 262 | "Function installed as `show-help-function' on MS-DOS frames." |
| 263 | (when (and (not (window-minibuffer-p)) ;Don't overwrite minibuffer contents. | 263 | (when (and (not (window-minibuffer-p)) ;Don't overwrite minibuffer contents. |
| 264 | ;; Don't know how to reproduce it in Elisp: | 264 | ;; Don't know how to reproduce it in Elisp: |
| 265 | ;; Don't overwrite a keystroke echo. | 265 | ;; Don't overwrite a keystroke echo. |
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el index 70057871c31..557681e86e5 100644 --- a/lisp/w32-fns.el +++ b/lisp/w32-fns.el | |||
| @@ -103,7 +103,7 @@ That includes all Windows systems except for 9X/Me." | |||
| 103 | w32-system-shells))) | 103 | w32-system-shells))) |
| 104 | 104 | ||
| 105 | (defun w32-shell-dos-semantics () | 105 | (defun w32-shell-dos-semantics () |
| 106 | "Return non-nil if the interactive shell being used expects MSDOS shell semantics." | 106 | "Return non-nil if the interactive shell being used expects MS-DOS shell semantics." |
| 107 | (or (w32-system-shell-p (w32-shell-name)) | 107 | (or (w32-system-shell-p (w32-shell-name)) |
| 108 | (and (member (downcase (file-name-nondirectory (w32-shell-name))) | 108 | (and (member (downcase (file-name-nondirectory (w32-shell-name))) |
| 109 | '("cmdproxy" "cmdproxy.exe")) | 109 | '("cmdproxy" "cmdproxy.exe")) |
diff --git a/src/ChangeLog b/src/ChangeLog index 466708fa2f9..ef38bbf5537 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2008-11-14 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * msdos.c (Fmsdos_long_file_names): | ||
| 4 | (syms_of_msdos) <dos-unsupported-char-glyph>: | ||
| 5 | * dosfns.c (Fint86): Fix typos in docstrings. | ||
| 6 | |||
| 1 | 2008-11-14 Eli Zaretskii <eliz@gnu.org> | 7 | 2008-11-14 Eli Zaretskii <eliz@gnu.org> |
| 2 | 8 | ||
| 3 | * makefile.w32-in (OBJ1, WIN32OBJ): Fix whitespace. | 9 | * makefile.w32-in (OBJ1, WIN32OBJ): Fix whitespace. |
diff --git a/src/dosfns.c b/src/dosfns.c index 240f19c3380..419a4ef44ee 100644 --- a/src/dosfns.c +++ b/src/dosfns.c | |||
| @@ -48,7 +48,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 48 | #endif | 48 | #endif |
| 49 | 49 | ||
| 50 | DEFUN ("int86", Fint86, Sint86, 2, 2, 0, | 50 | DEFUN ("int86", Fint86, Sint86, 2, 2, 0, |
| 51 | doc: /* Call specific MSDOS interrupt number INTERRUPT with REGISTERS. | 51 | doc: /* Call specific MS-DOS interrupt number INTERRUPT with REGISTERS. |
| 52 | Return the updated REGISTER vector. | 52 | Return the updated REGISTER vector. |
| 53 | 53 | ||
| 54 | INTERRUPT should be an integer in the range 0 to 255. | 54 | INTERRUPT should be an integer in the range 0 to 255. |
diff --git a/src/msdos.c b/src/msdos.c index c8a8b5f1b88..86b765fb68b 100644 --- a/src/msdos.c +++ b/src/msdos.c | |||
| @@ -4280,7 +4280,7 @@ int _rename(const char *old, const char *new) | |||
| 4280 | 4280 | ||
| 4281 | DEFUN ("msdos-long-file-names", Fmsdos_long_file_names, Smsdos_long_file_names, | 4281 | DEFUN ("msdos-long-file-names", Fmsdos_long_file_names, Smsdos_long_file_names, |
| 4282 | 0, 0, 0, | 4282 | 0, 0, 0, |
| 4283 | doc: /* Return non-nil if long file names are supported on MSDOS. */) | 4283 | doc: /* Return non-nil if long file names are supported on MS-DOS. */) |
| 4284 | () | 4284 | () |
| 4285 | { | 4285 | { |
| 4286 | return (_USE_LFN ? Qt : Qnil); | 4286 | return (_USE_LFN ? Qt : Qnil); |
| @@ -5247,7 +5247,7 @@ syms_of_msdos () | |||
| 5247 | 5247 | ||
| 5248 | DEFVAR_LISP ("dos-unsupported-char-glyph", &Vdos_unsupported_char_glyph, | 5248 | DEFVAR_LISP ("dos-unsupported-char-glyph", &Vdos_unsupported_char_glyph, |
| 5249 | doc: /* *Glyph to display instead of chars not supported by current codepage. | 5249 | doc: /* *Glyph to display instead of chars not supported by current codepage. |
| 5250 | This variable is used only by MSDOS terminals. */); | 5250 | This variable is used only by MS-DOS terminals. */); |
| 5251 | Vdos_unsupported_char_glyph = make_number ('\177'); | 5251 | Vdos_unsupported_char_glyph = make_number ('\177'); |
| 5252 | 5252 | ||
| 5253 | #endif | 5253 | #endif |