diff options
| author | Richard M. Stallman | 1993-11-14 00:06:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-11-14 00:06:23 +0000 |
| commit | 7425bbff0a70782f3025414d871cc598a7ff6c91 (patch) | |
| tree | 966c4013aa9a775b98850e51cc76e8c5bd6e193c | |
| parent | 28195f97018db1a686981f95d13b06b7fe10ae14 (diff) | |
| download | emacs-7425bbff0a70782f3025414d871cc598a7ff6c91.tar.gz emacs-7425bbff0a70782f3025414d871cc598a7ff6c91.zip | |
(dired-chown-program): Check for irix, not silicon-graphic-unix.
| -rw-r--r-- | lisp/dired.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index e7716545f11..8c7c9baa998 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -46,7 +46,7 @@ may contain even `F', `b', `i' and `s'.") | |||
| 46 | 46 | ||
| 47 | ;;;###autoload | 47 | ;;;###autoload |
| 48 | (defvar dired-chown-program | 48 | (defvar dired-chown-program |
| 49 | (if (memq system-type '(hpux dgux usg-unix-v silicon-graphics-unix)) | 49 | (if (memq system-type '(hpux dgux usg-unix-v irix)) |
| 50 | "chown" "/etc/chown") | 50 | "chown" "/etc/chown") |
| 51 | "Name of chown command (usually `chown' or `/etc/chown').") | 51 | "Name of chown command (usually `chown' or `/etc/chown').") |
| 52 | 52 | ||
| @@ -1100,6 +1100,10 @@ Optional arg NO-ERROR-IF-NOT-FILEP means return nil if no filename on | |||
| 1100 | ;; DIR must be file-name-as-directory, as with all directory args in | 1100 | ;; DIR must be file-name-as-directory, as with all directory args in |
| 1101 | ;; Emacs Lisp code. | 1101 | ;; Emacs Lisp code. |
| 1102 | (or dir (setq dir default-directory)) | 1102 | (or dir (setq dir default-directory)) |
| 1103 | ;; This case comes into play if default-directory is set to | ||
| 1104 | ;; use ~. | ||
| 1105 | (if (and (> (length dir) 0) (= (aref dir 0) ?~)) | ||
| 1106 | (setq dir (expand-file-name dir))) | ||
| 1103 | (if (string-match (concat "^" (regexp-quote dir)) file) | 1107 | (if (string-match (concat "^" (regexp-quote dir)) file) |
| 1104 | (substring file (match-end 0)) | 1108 | (substring file (match-end 0)) |
| 1105 | (if no-error | 1109 | (if no-error |