;;; doctor.el --- psychological help for frustrated users -*- lexical-binding: t -*-
-;; Copyright (C) 1985, 1987, 1994, 1996, 2000-2022 Free Software
-;; Foundation, Inc.
+;; Copyright (C) 1985-2022 Free Software Foundation, Inc.
;; Maintainer: emacs-devel@gnu.org
;; Keywords: games
except that RET when point is after a newline, or LFD at any time,
reads the sentence before point, and prints the Doctor's answer."
:interactive nil
- (make-doctor-variables)
+ (doctor-make-variables)
(turn-on-auto-fill)
(doctor-type '(i am the psychotherapist \.
(doc$ doctor--please) (doc$ doctor--describe) your (doc$ doctor--problems) \.
each time you are finished talking\, type \R\E\T twice \.))
(insert "\n"))
-(defun make-doctor-variables ()
+(defun doctor-make-variables ()
(setq-local doctor--typos
(mapcar (lambda (x)
(put (car x) 'doctor-correction (cadr x))
(defun doctor-chat () (doctor-type (doc$ doctor--chatlst)))
+(define-obsolete-function-alias 'make-doctor-variables #'doctor-make-variables "29.1")
+
(provide 'doctor)
;;; doctor.el ends here