aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-06-22 21:34:22 +0000
committerRichard M. Stallman1997-06-22 21:34:22 +0000
commitf535f6b22c5adfe8d4be6316abd0c2dc74cc7ef9 (patch)
tree3afb23d1f48fbe30dbf57b7597ced7662ffd0a5b
parent6b2797406826346ad2f3dfaeb1837d602e844bb9 (diff)
downloademacs-f535f6b22c5adfe8d4be6316abd0c2dc74cc7ef9.tar.gz
emacs-f535f6b22c5adfe8d4be6316abd0c2dc74cc7ef9.zip
(doctor-death): Give real advice to truly suicidal.
-rw-r--r--lisp/play/doctor.el17
1 files changed, 16 insertions, 1 deletions
diff --git a/lisp/play/doctor.el b/lisp/play/doctor.el
index 2c65fb8caa9..943b6f39356 100644
--- a/lisp/play/doctor.el
+++ b/lisp/play/doctor.el
@@ -542,6 +542,8 @@ reads the sentence before point, and prints the Doctor's answer."
542 (setq eliza-flag nil) 542 (setq eliza-flag nil)
543 (make-local-variable 'zippy-flag) 543 (make-local-variable 'zippy-flag)
544 (setq zippy-flag nil) 544 (setq zippy-flag nil)
545 (make-local-variable 'suicide-flag)
546 (setq suicide-flag nil)
545 (make-local-variable 'lover) 547 (make-local-variable 'lover)
546 (setq lover '(your partner)) 548 (setq lover '(your partner))
547 (make-local-variable 'bak) 549 (make-local-variable 'bak)
@@ -717,6 +719,7 @@ reads the sentence before point, and prints the Doctor's answer."
717(doctor-put-meaning suicides 'death) 719(doctor-put-meaning suicides 'death)
718(doctor-put-meaning kill 'death) 720(doctor-put-meaning kill 'death)
719(doctor-put-meaning kills 'death) 721(doctor-put-meaning kills 'death)
722(doctor-put-meaning killing 'death)
720(doctor-put-meaning die 'death) 723(doctor-put-meaning die 'death)
721(doctor-put-meaning dies 'death) 724(doctor-put-meaning dies 'death)
722(doctor-put-meaning died 'death) 725(doctor-put-meaning died 'death)
@@ -1574,7 +1577,19 @@ Hack on previous word, setting global variable OWNER to correct result."
1574 (doctor-foul) 1577 (doctor-foul)
1575 (doctor-type ($ sexlst)))) 1578 (doctor-type ($ sexlst))))
1576 1579
1577(defun doctor-death () (doctor-type ($ deathlst))) 1580(defun doctor-death ()
1581 (cond (suicide-flag (doctor-type ($ deathlst)))
1582 ((or (equal found 'suicide)
1583 (and (or (equal found 'kill)
1584 (equal found 'killing))
1585 (memq 'yourself sent)))
1586 (setq suicide-flag t)
1587 (doctor-type '(If you are really suicidal, you might
1588 want to contact the Samaritans via
1589 E-mail: jo@samaritans.org or, at your option,
1590 anonymous E-mail: samaritans@anon.penet.fi\ \.
1591 ($ please) ($ continue) \.)))
1592 (t (doctor-type ($ deathlst)))))
1578 1593
1579(defun doctor-foul () 1594(defun doctor-foul ()
1580 (doctor-type ($ foullst))) 1595 (doctor-type ($ foullst)))