]> git.eshelyaron.com Git - emacs.git/commitdiff
(snarf-spooks): Restore function.
authorRoland McGrath <roland@gnu.org>
Wed, 14 Jul 1993 23:38:00 +0000 (23:38 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 14 Jul 1993 23:38:00 +0000 (23:38 +0000)
lisp/play/spook.el

index 7c4b6d6c3d5eb2236fd82ec4d6c21d158a8bb215..30d827e4ad063adad832c5d42631a989db85c6c7 100644 (file)
@@ -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
 (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"))
-
-;; Note: the implementation that used to take up most of this file has
-;; been cleaned up and generalized and now resides in cookie1.el.
+  (cookie-insert spook-phrases-file
+                spook-phrase-default-count
+                "Checking authorization..."
+                "Checking authorization...Approved"))
+
+;;;###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