diff options
| author | Richard M. Stallman | 1992-09-21 01:35:20 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1992-09-21 01:35:20 +0000 |
| commit | c7784735dcc01bae7c654483d7511ea846499fe3 (patch) | |
| tree | 5e1122a049ac1995038773ed8a7897dcccd4585d | |
| parent | ec8be6da94c78a4103677c77b9ab24ceef4451ec (diff) | |
| download | emacs-c7784735dcc01bae7c654483d7511ea846499fe3.tar.gz emacs-c7784735dcc01bae7c654483d7511ea846499fe3.zip | |
entered into RCS
| -rw-r--r-- | lisp/diary-lib.el | 11 | ||||
| -rw-r--r-- | lisp/find-dired.el | 19 |
2 files changed, 5 insertions, 25 deletions
diff --git a/lisp/diary-lib.el b/lisp/diary-lib.el index a77be71cdf0..2579ecc264d 100644 --- a/lisp/diary-lib.el +++ b/lisp/diary-lib.el | |||
| @@ -114,15 +114,14 @@ syntax of `*' changed to be a word constituent.") | |||
| 114 | 114 | ||
| 115 | (defun list-diary-entries (date number) | 115 | (defun list-diary-entries (date number) |
| 116 | "Create and display a buffer containing the relevant lines in diary-file. | 116 | "Create and display a buffer containing the relevant lines in diary-file. |
| 117 | All lines that apply to DATE and the next NUMBER-1 days are included. | 117 | The arguments are DATE and NUMBER; the entries selected are those |
| 118 | 118 | for NUMBER days starting with date DATE. The other entries are hidden | |
| 119 | Makes all diary entries in the diary file invisible (using selective display), | 119 | using selective display. |
| 120 | *except* those that are relevant. | ||
| 121 | 120 | ||
| 122 | Returns a list of all relevant diary entries found, if any, in order by date. | 121 | Returns a list of all relevant diary entries found, if any, in order by date. |
| 123 | The list entries have the form ((month day year) string). If the variable | 122 | The list entries have the form ((month day year) string). If the variable |
| 124 | `diary-list-include-blanks' is t, this list will include a dummy diary entry | 123 | `diary-list-include-blanks' is t, this list includes a dummy diary entry |
| 125 | (consisting of the empty string) for a date with no diary entries. | 124 | \(consisting of the empty string) for a date with no diary entries. |
| 126 | 125 | ||
| 127 | After the list is prepared, the hooks `nongregorian-diary-listing-hook', | 126 | After the list is prepared, the hooks `nongregorian-diary-listing-hook', |
| 128 | `list-diary-entries-hook', and `diary-display-hook' are run. These hooks | 127 | `list-diary-entries-hook', and `diary-display-hook' are run. These hooks |
diff --git a/lisp/find-dired.el b/lisp/find-dired.el index 520a5dbc944..fc1165e2d47 100644 --- a/lisp/find-dired.el +++ b/lisp/find-dired.el | |||
| @@ -182,25 +182,6 @@ Thus ARG can also contain additional grep options." | |||
| 182 | (setq mode-line-process nil) | 182 | (setq mode-line-process nil) |
| 183 | (message "find-dired %s finished." (current-buffer)))))) | 183 | (message "find-dired %s finished." (current-buffer)))))) |
| 184 | 184 | ||
| 185 | (or (fboundp 'start-process-shell-command) | ||
| 186 | ;; From version 19 subr.el. | ||
| 187 | (defun start-process-shell-command (name buffer &rest args) | ||
| 188 | "Start a program in a subprocess. Return the process object for it. | ||
| 189 | Args are NAME BUFFER COMMAND &rest COMMAND-ARGS. | ||
| 190 | NAME is name for process. It is modified if necessary to make it unique. | ||
| 191 | BUFFER is the buffer or (buffer-name) to associate with the process. | ||
| 192 | Process output goes at end of that buffer, unless you specify | ||
| 193 | an output stream or filter function to handle the output. | ||
| 194 | BUFFER may be also nil, meaning that this process is not associated | ||
| 195 | with any buffer | ||
| 196 | Third arg is command name, the name of a shell command. | ||
| 197 | Remaining arguments are the arguments for the command. | ||
| 198 | Wildcards and redirection are handle as usual in the shell." | ||
| 199 | (if (eq system-type 'vax-vms) | ||
| 200 | (apply 'start-process name buffer args) | ||
| 201 | (start-process name buffer shell-file-name "-c" | ||
| 202 | (concat "exec " (mapconcat 'identity args " ")))))) | ||
| 203 | |||
| 204 | (provide 'find-dired) | 185 | (provide 'find-dired) |
| 205 | 186 | ||
| 206 | ;;; find-dired.el ends here | 187 | ;;; find-dired.el ends here |