diff options
| author | Roland McGrath | 1993-07-14 23:38:00 +0000 |
|---|---|---|
| committer | Roland McGrath | 1993-07-14 23:38:00 +0000 |
| commit | 215aa4f9c9c61bb85f5b49d62667165a012097f0 (patch) | |
| tree | 57cfc5e462f4367564df1f70131d9ea11487e3b2 | |
| parent | 4054367c9e9ea0507f50db4874ee6f78f817a67e (diff) | |
| download | emacs-215aa4f9c9c61bb85f5b49d62667165a012097f0.tar.gz emacs-215aa4f9c9c61bb85f5b49d62667165a012097f0.zip | |
(snarf-spooks): Restore function.
| -rw-r--r-- | lisp/play/spook.el | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/lisp/play/spook.el b/lisp/play/spook.el index 7c4b6d6c3d5..30d827e4ad0 100644 --- a/lisp/play/spook.el +++ b/lisp/play/spook.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; spook.el --- spook phrase utility for overloading the NSA line eater | 1 | ;;; spook.el --- spook phrase utility for overloading the NSA line eater |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1988 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1988, 1993 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Maintainer: FSF | 5 | ;; Maintainer: FSF |
| 6 | ;; Keywords: games | 6 | ;; Keywords: games |
| @@ -49,13 +49,20 @@ | |||
| 49 | (defun spook () | 49 | (defun spook () |
| 50 | "Adds that special touch of class to your outgoing mail." | 50 | "Adds that special touch of class to your outgoing mail." |
| 51 | (interactive) | 51 | (interactive) |
| 52 | (cookie-insert | 52 | (cookie-insert spook-phrases-file |
| 53 | spook-phrases-file | 53 | spook-phrase-default-count |
| 54 | spook-phrase-default-count | 54 | "Checking authorization..." |
| 55 | "Checking authorization" | 55 | "Checking authorization...Approved")) |
| 56 | "Checking authorization...Approved")) | 56 | |
| 57 | 57 | ;;;###autoload | |
| 58 | ;; Note: the implementation that used to take up most of this file has | 58 | (defun snarf-spooks () |
| 59 | ;; been cleaned up and generalized and now resides in cookie1.el. | 59 | "Return a vector containing the lines from `spook-phrases-file'." |
| 60 | (cookie-snarf spook-phrases-file | ||
| 61 | "Checking authorization..." | ||
| 62 | "Checking authorization...Approved")) | ||
| 63 | |||
| 64 | ;; Note: the implementation that used to take up most of this file has been | ||
| 65 | ;; cleaned up, generalized, gratuitously broken by esr, and now resides in | ||
| 66 | ;; cookie1.el. | ||
| 60 | 67 | ||
| 61 | ;;; spook.el ends here | 68 | ;;; spook.el ends here |