diff options
| author | Pavel Janík | 2001-07-14 11:21:08 +0000 |
|---|---|---|
| committer | Pavel Janík | 2001-07-14 11:21:08 +0000 |
| commit | 1cd7adc68ae35528a20418b76f13f2b84db827dd (patch) | |
| tree | 72fa14e562d56aba99842bdd78f10522c60a9ea8 /lisp/shell.el | |
| parent | 07b1b9126d535f7ce7908a05cb4da8545ac1766e (diff) | |
| download | emacs-1cd7adc68ae35528a20418b76f13f2b84db827dd.tar.gz emacs-1cd7adc68ae35528a20418b76f13f2b84db827dd.zip | |
Emacs lisp coding convention fixes.
Diffstat (limited to 'lisp/shell.el')
| -rw-r--r-- | lisp/shell.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index 43b7f6ab064..f09e2c6b56e 100644 --- a/lisp/shell.el +++ b/lisp/shell.el | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | ;;; shell.el --- specialized comint.el for running the shell. | 1 | ;;; shell.el --- specialized comint.el for running the shell |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1988, 93, 94, 95, 96, 1997, 2000 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1988, 93, 94, 95, 96, 1997, 2000 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Olin Shivers <shivers@cs.cmu.edu> then | 5 | ;; Author: Olin Shivers <shivers@cs.cmu.edu> |
| 6 | ;; Simon Marshall <simon@gnu.org> | 6 | ;; Simon Marshall <simon@gnu.org> |
| 7 | ;; Maintainer: FSF | 7 | ;; Maintainer: FSF |
| 8 | ;; Keywords: processes | 8 | ;; Keywords: processes |
| @@ -678,7 +678,7 @@ Environment variables are expanded, see function `substitute-in-file-name'." | |||
| 678 | (cond ((> num (length shell-dirstack)) | 678 | (cond ((> num (length shell-dirstack)) |
| 679 | (message "Directory stack not that deep.")) | 679 | (message "Directory stack not that deep.")) |
| 680 | ((= num 0) | 680 | ((= num 0) |
| 681 | (error (message "Couldn't cd."))) | 681 | (error (message "Couldn't cd"))) |
| 682 | (shell-pushd-dextract | 682 | (shell-pushd-dextract |
| 683 | (let ((dir (nth (1- num) shell-dirstack))) | 683 | (let ((dir (nth (1- num) shell-dirstack))) |
| 684 | (shell-process-popd arg) | 684 | (shell-process-popd arg) |
| @@ -774,7 +774,7 @@ command again." | |||
| 774 | (setq shell-dirstack (cdr ds) | 774 | (setq shell-dirstack (cdr ds) |
| 775 | shell-last-dir (car shell-dirstack)) | 775 | shell-last-dir (car shell-dirstack)) |
| 776 | (shell-dirstack-message)) | 776 | (shell-dirstack-message)) |
| 777 | (error (message "Couldn't cd."))))))) | 777 | (error (message "Couldn't cd"))))))) |
| 778 | 778 | ||
| 779 | ;;; For your typing convenience: | 779 | ;;; For your typing convenience: |
| 780 | (defalias 'dirs 'shell-resync-dirs) | 780 | (defalias 'dirs 'shell-resync-dirs) |
| @@ -1003,7 +1003,7 @@ Returns t if successful." | |||
| 1003 | (cond ((null index) | 1003 | (cond ((null index) |
| 1004 | nil) | 1004 | nil) |
| 1005 | ((>= index (length stack)) | 1005 | ((>= index (length stack)) |
| 1006 | (error "Directory stack not that deep.")) | 1006 | (error "Directory stack not that deep")) |
| 1007 | (t | 1007 | (t |
| 1008 | (replace-match (file-name-as-directory (nth index stack)) t t) | 1008 | (replace-match (file-name-as-directory (nth index stack)) t t) |
| 1009 | (message "Directory item: %d" index) | 1009 | (message "Directory item: %d" index) |