Mercurial > emacs
comparison lisp/files.el @ 7993:fde315722669
(delete-auto-save-files): Doc fix.
(insert-directory): Don't quote braces for shell.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 21 Jun 1994 17:46:53 +0000 |
parents | a114bbe9a63c |
children | ed2ac2e85eef |
comparison
equal
deleted
inserted
replaced
7992:7bb45acbcaa6 | 7993:fde315722669 |
---|---|
27 ;; ITS-id version control, load- and write-hook handling, and the like. | 27 ;; ITS-id version control, load- and write-hook handling, and the like. |
28 | 28 |
29 ;;; Code: | 29 ;;; Code: |
30 | 30 |
31 (defconst delete-auto-save-files t | 31 (defconst delete-auto-save-files t |
32 "*Non-nil means delete a buffer's auto-save file when the buffer is saved.") | 32 "*Non-nil means delete auto-save file when a buffer is saved or killed.") |
33 | 33 |
34 (defconst directory-abbrev-alist | 34 (defconst directory-abbrev-alist |
35 nil | 35 nil |
36 "*Alist of abbreviations for file directories. | 36 "*Alist of abbreviations for file directories. |
37 A list of elements of the form (FROM . TO), each meaning to replace | 37 A list of elements of the form (FROM . TO), each meaning to replace |
2063 ;; Quote some characters that have special meanings in shells; | 2063 ;; Quote some characters that have special meanings in shells; |
2064 ;; but don't quote the wildcards--we want them to be special. | 2064 ;; but don't quote the wildcards--we want them to be special. |
2065 ;; We also currently don't quote the quoting characters | 2065 ;; We also currently don't quote the quoting characters |
2066 ;; in case people want to use them explicitly to quote | 2066 ;; in case people want to use them explicitly to quote |
2067 ;; wildcard characters. | 2067 ;; wildcard characters. |
2068 (while (string-match "[ \t\n;<>&|{}()#$]" pattern beg) | 2068 (while (string-match "[ \t\n;<>&|()#$]" pattern beg) |
2069 (setq pattern | 2069 (setq pattern |
2070 (concat (substring pattern 0 (match-beginning 0)) | 2070 (concat (substring pattern 0 (match-beginning 0)) |
2071 "\\" | 2071 "\\" |
2072 (substring pattern (match-beginning 0))) | 2072 (substring pattern (match-beginning 0))) |
2073 beg (1+ (match-end 0)))) | 2073 beg (1+ (match-end 0)))) |