diff options
| author | Juanma Barranquero | 2005-08-02 09:42:20 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-08-02 09:42:20 +0000 |
| commit | 6f08431c31f1023943e5df310ded013ddab0f96d (patch) | |
| tree | 2be4ca557bd606910ac31253d6f1385a569f8c0a | |
| parent | 31b7cc74d3a91fdd30c95a4e8d7a30c27726cecb (diff) | |
| download | emacs-6f08431c31f1023943e5df310ded013ddab0f96d.tar.gz emacs-6f08431c31f1023943e5df310ded013ddab0f96d.zip | |
(doctor-type-symbol): "?\ " -> "?\s".
(**mad**, *debug*, *print-space*, *print-upcase*, abuselst, abusewords, account,
afraidof, arerelated, areyou, bak, beclst, bother, bye, canyou, chatlst,
continue, deathlst, describe, drnk, drugs, eliza-flag, elizalst, famlst, feared,
fears, feelings-about, foullst, found, hello, history, howareyoulst, howdyflag,
huhlst, ibelieve, improve, inter, isee, isrelated, lincount, longhuhlst, lover,
machlst, mathlst, maybe, moods, neglst, obj, object, owner, please, problems,
qlist, random-adjective, relation, remlst, repetitive-shortness, replist,
rms-flag, schoollst, sent, sexlst, shortbeclst, shortlst, something, sportslst,
stallmanlst, states, subj, suicide-flag, sure, things, thlst, toklst, typos,
verb, want, whatwhen, whereoutp, whysay, whywant, zippy-flag, zippylst):
Defvar at compile time.
| -rw-r--r-- | lisp/ChangeLog | 18 | ||||
| -rw-r--r-- | lisp/play/doctor.el | 32 |
2 files changed, 49 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bff30685708..b58f9466967 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,21 @@ | |||
| 1 | 2005-08-02 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * play/doctor.el (doctor-type-symbol): "?\ " -> "?\s". | ||
| 4 | (**mad**, *debug*, *print-space*, *print-upcase*, abuselst) | ||
| 5 | (abusewords, account, afraidof, arerelated, areyou, bak, beclst) | ||
| 6 | (bother, bye, canyou, chatlst, continue, deathlst, describe) | ||
| 7 | (drnk, drugs, eliza-flag, elizalst, famlst, feared, fears) | ||
| 8 | (feelings-about, foullst, found, hello, history, howareyoulst) | ||
| 9 | (howdyflag, huhlst, ibelieve, improve, inter, isee, isrelated) | ||
| 10 | (lincount, longhuhlst, lover, machlst, mathlst, maybe, moods) | ||
| 11 | (neglst, obj, object, owner, please, problems, qlist) | ||
| 12 | (random-adjective, relation, remlst, repetitive-shortness) | ||
| 13 | (replist, rms-flag, schoollst, sent, sexlst, shortbeclst) | ||
| 14 | (shortlst, something, sportslst, stallmanlst, states, subj) | ||
| 15 | (suicide-flag, sure, things, thlst, toklst, typos, verb, want) | ||
| 16 | (whatwhen, whereoutp, whysay, whywant, zippy-flag, zippylst): | ||
| 17 | Defvar at compile time. | ||
| 18 | |||
| 1 | 2005-08-02 Kim F. Storm <storm@cua.dk> | 19 | 2005-08-02 Kim F. Storm <storm@cua.dk> |
| 2 | 20 | ||
| 3 | * emulation/cua-rect.el (cua--highlight-rectangle): Only show | 21 | * emulation/cua-rect.el (cua--highlight-rectangle): Only show |
diff --git a/lisp/play/doctor.el b/lisp/play/doctor.el index a8523fe1baa..ea502646e61 100644 --- a/lisp/play/doctor.el +++ b/lisp/play/doctor.el | |||
| @@ -46,6 +46,36 @@ | |||
| 46 | 46 | ||
| 47 | ;;; Code: | 47 | ;;; Code: |
| 48 | 48 | ||
| 49 | (eval-when-compile | ||
| 50 | (defvar **mad**) (defvar *debug*) (defvar *print-space*) | ||
| 51 | (defvar *print-upcase*) (defvar abuselst) (defvar abusewords) | ||
| 52 | (defvar account) (defvar afraidof) (defvar arerelated) | ||
| 53 | (defvar areyou) (defvar bak) (defvar beclst) | ||
| 54 | (defvar bother) (defvar bye) (defvar canyou) | ||
| 55 | (defvar chatlst) (defvar continue) (defvar deathlst) | ||
| 56 | (defvar describe) (defvar drnk) (defvar drugs) | ||
| 57 | (defvar eliza-flag) (defvar elizalst) (defvar famlst) | ||
| 58 | (defvar feared) (defvar fears) (defvar feelings-about) | ||
| 59 | (defvar foullst) (defvar found) (defvar hello) | ||
| 60 | (defvar history) (defvar howareyoulst) (defvar howdyflag) | ||
| 61 | (defvar huhlst) (defvar ibelieve) (defvar improve) | ||
| 62 | (defvar inter) (defvar isee) (defvar isrelated) | ||
| 63 | (defvar lincount) (defvar longhuhlst) (defvar lover) | ||
| 64 | (defvar machlst) (defvar mathlst) (defvar maybe) | ||
| 65 | (defvar moods) (defvar neglst) (defvar obj) | ||
| 66 | (defvar object) (defvar owner) (defvar please) | ||
| 67 | (defvar problems) (defvar qlist) (defvar random-adjective) | ||
| 68 | (defvar relation) (defvar remlst) (defvar repetitive-shortness) | ||
| 69 | (defvar replist) (defvar rms-flag) (defvar schoollst) | ||
| 70 | (defvar sent) (defvar sexlst) (defvar shortbeclst) | ||
| 71 | (defvar shortlst) (defvar something) (defvar sportslst) | ||
| 72 | (defvar stallmanlst) (defvar states) (defvar subj) | ||
| 73 | (defvar suicide-flag) (defvar sure) (defvar things) | ||
| 74 | (defvar thlst) (defvar toklst) (defvar typos) | ||
| 75 | (defvar verb) (defvar want) (defvar whatwhen) | ||
| 76 | (defvar whereoutp) (defvar whysay) (defvar whywant) | ||
| 77 | (defvar zippy-flag) (defvar zippylst)) | ||
| 78 | |||
| 49 | (defun doc// (x) x) | 79 | (defun doc// (x) x) |
| 50 | 80 | ||
| 51 | (defmacro doc$ (what) | 81 | (defmacro doc$ (what) |
| @@ -1370,7 +1400,7 @@ Hack on previous word, setting global variable OWNER to correct result." | |||
| 1370 | (cond ((or (string-match "^[.,;:?! ]" word) | 1400 | (cond ((or (string-match "^[.,;:?! ]" word) |
| 1371 | (not *print-space*)) | 1401 | (not *print-space*)) |
| 1372 | (insert word)) | 1402 | (insert word)) |
| 1373 | (t (insert ?\ word))) | 1403 | (t (insert ?\s word))) |
| 1374 | (and auto-fill-function | 1404 | (and auto-fill-function |
| 1375 | (> (current-column) fill-column) | 1405 | (> (current-column) fill-column) |
| 1376 | (apply auto-fill-function nil)) | 1406 | (apply auto-fill-function nil)) |