changeset 4091:51d19cce579f

(snarf-spooks): Restore function.
author Roland McGrath <roland@gnu.org>
date Wed, 14 Jul 1993 23:38:00 +0000
parents afa2afad53c4
children e72012acb5fb
files lisp/play/spook.el
diffstat 1 files changed, 15 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/play/spook.el	Wed Jul 14 23:36:04 1993 +0000
+++ b/lisp/play/spook.el	Wed Jul 14 23:38:00 1993 +0000
@@ -1,6 +1,6 @@
 ;;; spook.el --- spook phrase utility for overloading the NSA line eater
 
-;; Copyright (C) 1988 Free Software Foundation, Inc.
+;; Copyright (C) 1988, 1993 Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
 ;; Keywords: games
@@ -49,13 +49,20 @@
 (defun spook ()
   "Adds that special touch of class to your outgoing mail."
   (interactive)
-  (cookie-insert
-   spook-phrases-file
-   spook-phrase-default-count
-   "Checking authorization"
-   "Checking authorization...Approved"))
+  (cookie-insert spook-phrases-file
+		 spook-phrase-default-count
+		 "Checking authorization..."
+		 "Checking authorization...Approved"))
 
-;; Note: the implementation that used to take up most of this file has
-;; been cleaned up and generalized and now resides in cookie1.el.
+;;;###autoload
+(defun snarf-spooks ()
+  "Return a vector containing the lines from `spook-phrases-file'."
+  (cookie-snarf spook-phrases-file
+		"Checking authorization..."
+		"Checking authorization...Approved"))
+
+;; Note: the implementation that used to take up most of this file has been
+;; cleaned up, generalized, gratuitously broken by esr, and now resides in
+;; cookie1.el.
 
 ;;; spook.el ends here