DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ c

⟦12e0e5e72⟧

    Length: 4176 (0x1050)
    Names: »chistory.elc«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/gnu-31mar87/emacs/lisp/chistory.elc« 

Hex Dump

0x0000…0020 0a 28 70 72 6f 76 69 64 65 20 28 71 75 6f 74 65 20 63 68 69 73 74 6f 72 79 29 29 0a 0a 28 64 65   ┆ (provide (quote chistory))  (de┆
0x0020…0040 66 75 6e 20 72 65 70 65 61 74 2d 6d 61 74 63 68 69 6e 67 2d 63 6f 6d 70 6c 65 78 2d 63 6f 6d 6d   ┆fun repeat-matching-complex-comm┆
0x0040…0060 61 6e 64 20 28 26 6f 70 74 69 6f 6e 61 6c 20 70 61 74 74 65 72 6e 29 20 22 5c 0a 45 64 69 74 20   ┆and (&optional pattern) "\ Edit ┆
0x0060…0080 61 6e 64 20 72 65 2d 65 76 61 6c 75 61 74 65 20 63 6f 6d 70 6c 65 78 20 63 6f 6d 6d 61 6e 64 20   ┆and re-evaluate complex command ┆
0x0080…00a0 77 69 74 68 20 6e 61 6d 65 20 6d 61 74 63 68 69 6e 67 20 50 41 54 54 45 52 4e 2e 0a 4d 61 74 63   ┆with name matching PATTERN. Matc┆
0x00a0…00c0 68 69 6e 67 20 6f 63 63 75 72 72 65 6e 63 65 73 20 61 72 65 20 64 69 73 70 6c 61 79 65 64 2c 20   ┆hing occurrences are displayed, ┆
0x00c0…00e0 6d 6f 73 74 20 72 65 63 65 6e 74 20 66 69 72 73 74 2c 20 75 6e 74 69 6c 20 79 6f 75 0a 73 65 6c   ┆most recent first, until you sel┆
0x00e0…0100 65 63 74 20 61 20 66 6f 72 6d 20 66 6f 72 20 65 76 61 6c 75 61 74 69 6f 6e 2e 20 20 49 66 20 50   ┆ect a form for evaluation.  If P┆
0x0100…0120 41 54 54 45 52 4e 20 69 73 20 65 6d 70 74 79 20 28 6f 72 20 6e 69 6c 29 2c 20 65 76 65 72 79 20   ┆ATTERN is empty (or nil), every ┆
0x0120…0140 66 6f 72 6d 0a 69 6e 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 68 69 73 74 6f 72 79 20 69 73 20 6f   ┆form in the command history is o┆
0x0140…0160 66 66 65 72 65 64 2e 20 20 54 68 65 20 66 6f 72 6d 20 69 73 20 70 6c 61 63 65 64 20 69 6e 20 74   ┆ffered.  The form is placed in t┆
0x0160…0180 68 65 20 6d 69 6e 69 62 75 66 66 65 72 0a 66 6f 72 20 65 64 69 74 69 6e 67 20 61 6e 64 20 74 68   ┆he minibuffer for editing and th┆
0x0180…01a0 65 20 72 65 73 75 6c 74 20 69 73 20 65 76 61 6c 75 61 74 65 64 2e 22 20 28 69 6e 74 65 72 61 63   ┆e result is evaluated." (interac┆
0x01a0…01c0 74 69 76 65 20 22 73 52 65 64 6f 20 43 6f 6d 6d 61 6e 64 20 28 72 65 67 65 78 70 29 3a 20 22 29   ┆tive "sRedo Command (regexp): ")┆
0x01c0…01e0 20 28 62 79 74 65 2d 63 6f 64 65 20 22 c1 88 08 83 24 00 c6 08 c7 c8 08 5c 22 86 11 00 08 47 c1   ┆ (byte-code "    $      \"    G ┆
0x01e0…0200 4f 89 10 c9 5c 22 83 20 00 c1 89 10 82 21 00 c1 82 25 00 c1 88 0b c1 c1 1d 1c 1a 0a 85 32 00 0d   ┆O   \"       !   %           2  ┆
0x0200…0220 3f 85 65 00 0a 40 89 14 88 08 3f 86 46 00 c7 08 ca 0c 40 21 5c 22 85 53 00 cb cc cd ce 0c 21 89   ┆? e  @    ? F     @!\" S      ! ┆
0x0220…0240 14 5c 22 21 83 5d 00 0a 40 89 15 82 61 00 0a 41 89 12 88 82 2c 00 88 0d 3f 83 71 00 cf d0 21 82   ┆ \"! ]  @   a  A    ,   ? q   ! ┆
0x0240…0260 75 00 d1 d2 0d 5c 22 2b 87 22 20 5b 70 61 74 74 65 72 6e 20 6e 69 6c 20 68 69 73 74 6f 72 79 20   ┆u    \"+ " [pattern nil history ┆
0x0260…0280 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 20 74 65 6d 70 20 77 68 61 74 20 65 71 75 61 6c 20   ┆command-history temp what equal ┆
0x0280…02a0 73 74 72 69 6e 67 2d 6d 61 74 63 68 20 22 5b 20 09 5d 2a 5b 5e 20 09 5d 22 20 22 22 20 73 79 6d   ┆string-match "[  ]*[^  ]" "" sym┆
0x02a0…02c0 62 6f 6c 2d 6e 61 6d 65 20 79 2d 6f 72 2d 6e 2d 70 20 66 6f 72 6d 61 74 20 22 52 65 64 6f 20 25   ┆bol-name y-or-n-p format "Redo %┆
0x02c0…02e0 73 3f 20 22 20 70 72 69 6e 31 2d 74 6f 2d 73 74 72 69 6e 67 20 65 72 72 6f 72 20 22 43 6f 6d 6d   ┆s? " prin1-to-string error "Comm┆
0x02e0…0300 61 6e 64 20 68 69 73 74 6f 72 79 20 65 78 68 61 75 73 74 65 64 2e 22 20 65 64 69 74 2d 61 6e 64   ┆and history exhausted." edit-and┆
0x0300…0320 2d 65 76 61 6c 2d 63 6f 6d 6d 61 6e 64 20 22 52 65 64 6f 3a 20 22 5d 20 31 31 29 29 0a 0a 28 64   ┆-eval-command "Redo: "] 11))  (d┆
0x0320…0340 65 66 76 61 72 20 64 65 66 61 75 6c 74 2d 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 66 69   ┆efvar default-command-history-fi┆
0x0340…0360 6c 74 65 72 2d 67 61 72 62 61 67 65 20 28 71 75 6f 74 65 20 28 63 6f 6d 6d 61 6e 64 2d 68 69 73   ┆lter-garbage (quote (command-his┆
0x0360…0380 74 6f 72 79 2d 6d 6f 64 65 20 6c 69 73 74 2d 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 20 65   ┆tory-mode list-command-history e┆
0x0380…03a0 6c 65 63 74 72 69 63 2d 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 29 29 20 22 5c 0a 2a 41 20   ┆lectric-command-history)) "\ *A ┆
0x03a0…03c0 6c 69 73 74 20 6f 66 20 73 79 6d 62 6f 6c 73 2e 20 20 49 66 20 20 64 65 66 61 75 6c 74 2d 6c 69   ┆list of symbols.  If  default-li┆
0x03c0…03e0 73 74 2d 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 66 69 6c 74 65 72 20 20 69 73 0a 67 69   ┆st-command-history-filter  is gi┆
0x03e0…0400 76 65 6e 20 61 20 6c 69 73 74 20 77 68 6f 73 65 20 63 61 72 20 69 73 20 61 6e 20 65 6c 65 6d 65   ┆ven a list whose car is an eleme┆
0x0400…0420 6e 74 20 6f 66 20 74 68 69 73 20 6c 69 73 74 2c 20 74 68 65 6e 20 69 74 20 77 69 6c 6c 20 72 65   ┆nt of this list, then it will re┆
0x0420…0440 74 75 72 6e 0a 6e 6f 6e 2d 6e 69 6c 20 28 69 6e 64 69 63 61 74 69 6e 67 20 74 68 65 20 6c 69 73   ┆turn non-nil (indicating the lis┆
0x0440…0460 74 20 73 68 6f 75 6c 64 20 62 65 20 64 69 73 63 61 72 64 65 64 20 66 72 6f 6d 20 74 68 65 20 68   ┆t should be discarded from the h┆
0x0460…0480 69 73 74 6f 72 79 29 2e 0a 49 6e 69 74 69 61 6c 6c 79 2c 20 61 6c 6c 20 63 6f 6d 6d 61 6e 64 73   ┆istory). Initially, all commands┆
0x0480…04a0 20 72 65 6c 61 74 65 64 20 74 6f 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 68 69 73 74 6f 72 79 20   ┆ related to the command history ┆
0x04a0…04c0 61 72 65 20 64 69 73 63 61 72 64 65 64 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 6c 69 73 74 2d 63   ┆are discarded.")  (defvar list-c┆
0x04c0…04e0 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 66 69 6c 74 65 72 20 28 71 75 6f 74 65 20 64 65 66   ┆ommand-history-filter (quote def┆
0x04e0…0500 61 75 6c 74 2d 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 66 69 6c 74 65 72 29 20 22 5c 0a   ┆ault-command-history-filter) "\ ┆
0x0500…0520 49 66 20 6e 6f 6e 2d 6e 69 6c 2c 20 73 68 6f 75 6c 64 20 62 65 20 74 68 65 20 6e 61 6d 65 20 6f   ┆If non-nil, should be the name o┆
0x0520…0540 66 20 61 20 66 75 6e 63 74 69 6f 6e 20 6f 66 20 6f 6e 65 20 61 72 67 75 6d 65 6e 74 2e 0a 49 74   ┆f a function of one argument. It┆
0x0540…0560 20 69 73 20 70 61 73 73 65 64 20 65 61 63 68 20 65 6c 65 6d 65 6e 74 20 6f 66 20 74 68 65 20 63   ┆ is passed each element of the c┆
0x0560…0580 6f 6d 6d 61 6e 64 20 68 69 73 74 6f 72 79 20 77 68 65 6e 0a 5c 5c 5b 6c 69 73 74 2d 63 6f 6d 6d   ┆ommand history when \\[list-comm┆
0x0580…05a0 61 6e 64 2d 68 69 73 74 6f 72 79 5d 20 69 73 20 63 61 6c 6c 65 64 2e 20 20 49 66 20 74 68 65 20   ┆and-history] is called.  If the ┆
0x05a0…05c0 66 69 6c 74 65 72 20 72 65 74 75 72 6e 73 20 6e 6f 6e 2d 6e 69 6c 20 66 6f 72 0a 73 6f 6d 65 20   ┆filter returns non-nil for some ┆
0x05c0…05e0 65 6c 65 6d 65 6e 74 2c 20 74 68 61 74 20 65 6c 65 6d 65 6e 74 20 69 73 20 65 78 63 6c 75 64 65   ┆element, that element is exclude┆
0x05e0…0600 64 20 66 72 6f 6d 20 74 68 65 20 68 69 73 74 6f 72 79 20 6c 69 73 74 69 6e 67 2e 20 20 54 68 65   ┆d from the history listing.  The┆
0x0600…0620 0a 64 65 66 61 75 6c 74 20 66 69 6c 74 65 72 20 72 65 6d 6f 76 65 73 20 63 6f 6d 6d 61 6e 64 73   ┆ default filter removes commands┆
0x0620…0640 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 74 68 65 20 63 6f 6d 6d 61 6e 64 2d 68 69 73   ┆ associated with the command-his┆
0x0640…0660 74 6f 72 79 2e 22 29 0a 0a 28 64 65 66 75 6e 20 64 65 66 61 75 6c 74 2d 63 6f 6d 6d 61 6e 64 2d   ┆tory.")  (defun default-command-┆
0x0660…0680 68 69 73 74 6f 72 79 2d 66 69 6c 74 65 72 20 28 66 72 6f 62 29 20 22 5c 0a 46 69 6c 74 65 72 20   ┆history-filter (frob) "\ Filter ┆
0x0680…06a0 63 6f 6d 6d 61 6e 64 73 20 6d 61 74 63 68 69 6e 67 20 20 64 65 66 61 75 6c 74 2d 63 6f 6d 6d 61   ┆commands matching  default-comma┆
0x06a0…06c0 6e 64 2d 68 69 73 74 6f 72 79 2d 66 69 6c 74 65 72 2d 67 61 72 62 61 67 65 20 20 6c 69 73 74 0a   ┆nd-history-filter-garbage  list ┆
0x06c0…06e0 66 72 6f 6d 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 68 69 73 74 6f 72 79 2e 22 20 28 62 79 74 65   ┆from the command history." (byte┆
0x06e0…0700 2d 63 6f 64 65 20 22 08 3a 3f 86 0a 00 08 40 09 3e 87 22 20 5b 66 72 6f 62 20 64 65 66 61 75 6c   ┆-code " :?    @ > " [frob defaul┆
0x0700…0720 74 2d 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 66 69 6c 74 65 72 2d 67 61 72 62 61 67 65   ┆t-command-history-filter-garbage┆
0x0720…0740 5d 20 32 29 29 0a 0a 28 64 65 66 76 61 72 20 6c 69 73 74 2d 63 6f 6d 6d 61 6e 64 2d 68 69 73 74   ┆] 2))  (defvar list-command-hist┆
0x0740…0760 6f 72 79 2d 6d 61 78 20 33 32 20 22 5c 0a 2a 49 66 20 6e 6f 6e 2d 6e 69 6c 2c 20 73 68 6f 75 6c   ┆ory-max 32 "\ *If non-nil, shoul┆
0x0760…0780 64 20 62 65 20 61 20 70 6f 73 69 74 69 76 65 20 6e 75 6d 62 65 72 20 77 68 69 63 68 20 73 70 65   ┆d be a positive number which spe┆
0x0780…07a0 63 69 66 69 65 73 20 74 68 65 20 6d 61 78 69 6d 75 6d 0a 6c 65 6e 67 74 68 20 6f 66 20 74 68 65   ┆cifies the maximum length of the┆
0x07a0…07c0 20 43 6f 6d 6d 61 6e 64 20 48 69 73 74 6f 72 79 20 6c 69 73 74 69 6e 67 20 70 72 6f 64 75 63 65   ┆ Command History listing produce┆
0x07c0…07e0 64 20 62 79 20 6c 69 73 74 2d 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2e 22 29 0a 0a 28 64   ┆d by list-command-history.")  (d┆
0x07e0…0800 65 66 75 6e 20 6c 69 73 74 2d 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 20 6e 69 6c 20 22 5c   ┆efun list-command-history nil "\┆
0x0800…0820 0a 4c 69 73 74 20 68 69 73 74 6f 72 79 20 6f 66 20 63 6f 6d 6d 61 6e 64 73 20 74 79 70 65 64 20   ┆ List history of commands typed ┆
0x0820…0840 74 6f 20 6d 69 6e 69 62 75 66 66 65 72 2e 0a 54 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 63 6f 6d   ┆to minibuffer. The number of com┆
0x0840…0860 6d 61 6e 64 73 20 6c 69 73 74 65 64 20 69 73 20 63 6f 6e 74 72 6f 6c 6c 65 64 20 62 79 20 20 6c   ┆mands listed is controlled by  l┆
0x0860…0880 69 73 74 2d 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 6d 61 78 2e 0a 43 61 6c 6c 73 20 76   ┆ist-command-history-max. Calls v┆
0x0880…08a0 61 6c 75 65 20 6f 66 20 20 6c 69 73 74 2d 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 66 69   ┆alue of  list-command-history-fi┆
0x08a0…08c0 6c 74 65 72 20 20 28 69 66 20 6e 6f 6e 2d 6e 69 6c 29 20 6f 6e 20 65 61 63 68 20 68 69 73 74 6f   ┆lter  (if non-nil) on each histo┆
0x08c0…08e0 72 79 0a 65 6c 65 6d 65 6e 74 20 74 6f 20 6a 75 64 67 65 20 69 66 20 74 68 61 74 20 65 6c 65 6d   ┆ry element to judge if that elem┆
0x08e0…0900 65 6e 74 20 73 68 6f 75 6c 64 20 62 65 20 65 78 63 6c 75 64 65 64 20 66 72 6f 6d 20 74 68 65 20   ┆ent should be excluded from the ┆
0x0900…0920 6c 69 73 74 2e 0a 0a 54 68 65 20 62 75 66 66 65 72 20 69 73 20 6c 65 66 74 20 69 6e 20 43 6f 6d   ┆list.  The buffer is left in Com┆
0x0920…0940 6d 61 6e 64 20 48 69 73 74 6f 72 79 20 6d 6f 64 65 2e 22 20 28 69 6e 74 65 72 61 63 74 69 76 65   ┆mand History mode." (interactive┆
0x0940…0960 29 20 28 62 79 74 65 2d 63 6f 64 65 20 22 c3 88 c7 90 09 c3 0d 86 0b 00 c8 1c 1a 18 c9 0c ca 5c   ┆) (byte-code "                 \┆
0x0960…0980 22 85 16 00 08 85 46 00 cb c6 21 85 2a 00 0e 06 85 2a 00 cc 0e 06 08 40 5c 22 83 31 00 c3 82 3d   ┆"     F   ! *    *     @\" 1   =┆
0x0980…09a0 00 0c 53 89 14 88 cd 08 40 21 88 ce 20 88 08 41 89 10 88 82 0e 00 2b 88 65 62 88 6d 83 55 00 cf   ┆  S     @!     A      + eb m U  ┆
0x09a0…09c0 d0 21 82 57 00 d1 20 91 87 22 20 5b 68 69 73 74 6f 72 79 20 63 6f 6d 6d 61 6e 64 2d 68 69 73 74   ┆ ! W     " [history command-hist┆
0x09c0…09e0 6f 72 79 20 62 75 66 66 65 72 2d 72 65 61 64 2d 6f 6e 6c 79 20 6e 69 6c 20 63 6f 75 6e 74 20 6c   ┆ory buffer-read-only nil count l┆
0x09e0…0a00 69 73 74 2d 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 6d 61 78 20 6c 69 73 74 2d 63 6f 6d   ┆ist-command-history-max list-com┆
0x0a00…0a20 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 66 69 6c 74 65 72 20 22 2a 43 6f 6d 6d 61 6e 64 20 48 69   ┆mand-history-filter "*Command Hi┆
0x0a20…0a40 73 74 6f 72 79 2a 22 20 2d 31 20 2f 3d 20 30 20 62 6f 75 6e 64 70 20 66 75 6e 63 61 6c 6c 20 70   ┆story*" -1 /= 0 boundp funcall p┆
0x0a40…0a60 72 69 6e 31 20 74 65 72 70 72 69 20 65 72 72 6f 72 20 22 4e 6f 20 63 6f 6d 6d 61 6e 64 20 68 69   ┆rin1 terpri error "No command hi┆
0x0a60…0a80 73 74 6f 72 79 2e 22 20 43 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 73 65 74 75 70 5d 20 39   ┆story." Command-history-setup] 9┆
0x0a80…0aa0 29 29 0a 0a 28 64 65 66 75 6e 20 43 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 73 65 74 75 70   ┆))  (defun Command-history-setup┆
0x0aa0…0ac0 20 28 26 6f 70 74 69 6f 6e 61 6c 20 6d 61 6a 6f 72 6d 6f 64 65 20 6d 6f 64 65 6e 61 6d 65 20 6b   ┆ (&optional majormode modename k┆
0x0ac0…0ae0 65 79 6d 61 70 29 20 28 62 79 74 65 2d 63 6f 64 65 20 22 c9 71 88 ca 08 86 09 00 09 21 88 cb 20   ┆eymap) (byte-code " q       !   ┆
0x0ae0…0b00 88 cc 0a 21 88 c4 89 13 88 ca 08 86 1c 00 09 21 88 0e 06 86 24 00 cd 89 15 88 0e 08 86 2d 00 ce   ┆   !           !    $        -  ┆
0x0b00…0b20 89 16 07 87 22 20 5b 6b 65 79 6d 61 70 20 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 6d 61   ┆    " [keymap command-history-ma┆
0x0b20…0b40 70 20 6c 69 73 70 2d 6d 6f 64 65 2d 73 79 6e 74 61 78 2d 74 61 62 6c 65 20 62 75 66 66 65 72 2d   ┆p lisp-mode-syntax-table buffer-┆
0x0b40…0b60 72 65 61 64 2d 6f 6e 6c 79 20 74 20 6d 61 6a 6f 72 2d 6d 6f 64 65 20 6d 61 6a 6f 72 6d 6f 64 65   ┆read-only t major-mode majormode┆
0x0b60…0b80 20 6d 6f 64 65 2d 6e 61 6d 65 20 6d 6f 64 65 6e 61 6d 65 20 22 2a 43 6f 6d 6d 61 6e 64 20 48 69   ┆ mode-name modename "*Command Hi┆
0x0b80…0ba0 73 74 6f 72 79 2a 22 20 75 73 65 2d 6c 6f 63 61 6c 2d 6d 61 70 20 6c 69 73 70 2d 6d 6f 64 65 2d   ┆story*" use-local-map lisp-mode-┆
0x0ba0…0bc0 76 61 72 69 61 62 6c 65 73 20 73 65 74 2d 73 79 6e 74 61 78 2d 74 61 62 6c 65 20 63 6f 6d 6d 61   ┆variables set-syntax-table comma┆
0x0bc0…0be0 6e 64 2d 68 69 73 74 6f 72 79 2d 6d 6f 64 65 20 22 43 6f 6d 6d 61 6e 64 20 48 69 73 74 6f 72 79   ┆nd-history-mode "Command History┆
0x0be0…0c00 22 5d 20 36 29 29 0a 0a 28 64 65 66 76 61 72 20 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d   ┆"] 6))  (defvar command-history-┆
0x0c00…0c20 68 6f 6f 6b 20 6e 69 6c 20 22 5c 0a 49 66 20 6e 6f 6e 2d 6e 69 6c 2c 20 69 74 73 20 76 61 6c 75   ┆hook nil "\ If non-nil, its valu┆
0x0c20…0c40 65 20 69 73 20 63 61 6c 6c 65 64 20 6f 6e 20 65 6e 74 72 79 20 74 6f 20 20 63 6f 6d 6d 61 6e 64   ┆e is called on entry to  command┆
0x0c40…0c60 2d 68 69 73 74 6f 72 79 2d 6d 6f 64 65 2e 22 29 0a 0a 28 64 65 66 76 61 72 20 63 6f 6d 6d 61 6e   ┆-history-mode.")  (defvar comman┆
0x0c60…0c80 64 2d 68 69 73 74 6f 72 79 2d 6d 61 70 20 6e 69 6c 29 0a 0a 28 69 66 20 63 6f 6d 6d 61 6e 64 2d   ┆d-history-map nil)  (if command-┆
0x0c80…0ca0 68 69 73 74 6f 72 79 2d 6d 61 70 20 6e 69 6c 20 28 73 65 74 71 20 63 6f 6d 6d 61 6e 64 2d 68 69   ┆history-map nil (setq command-hi┆
0x0ca0…0cc0 73 74 6f 72 79 2d 6d 61 70 20 28 6d 61 6b 65 2d 6b 65 79 6d 61 70 29 29 20 28 6c 69 73 70 2d 6d   ┆story-map (make-keymap)) (lisp-m┆
0x0cc0…0ce0 6f 64 65 2d 63 6f 6d 6d 61 6e 64 73 20 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 6d 61 70   ┆ode-commands command-history-map┆
0x0ce0…0d00 29 20 28 73 75 70 70 72 65 73 73 2d 6b 65 79 6d 61 70 20 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f   ┆) (suppress-keymap command-histo┆
0x0d00…0d20 72 79 2d 6d 61 70 29 20 28 64 65 66 69 6e 65 2d 6b 65 79 20 63 6f 6d 6d 61 6e 64 2d 68 69 73 74   ┆ry-map) (define-key command-hist┆
0x0d20…0d40 6f 72 79 2d 6d 61 70 20 22 0a 22 20 28 71 75 6f 74 65 20 6e 65 78 74 2d 6c 69 6e 65 29 29 20 28   ┆ory-map " " (quote next-line)) (┆
0x0d40…0d60 64 65 66 69 6e 65 2d 6b 65 79 20 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 6d 61 70 20 22   ┆define-key command-history-map "┆
0x0d60…0d80 0d 22 20 28 71 75 6f 74 65 20 6e 65 78 74 2d 6c 69 6e 65 29 29 20 28 64 65 66 69 6e 65 2d 6b 65   ┆ " (quote next-line)) (define-ke┆
0x0d80…0da0 79 20 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 6d 61 70 20 22 7f 22 20 28 71 75 6f 74 65   ┆y command-history-map " " (quote┆
0x0da0…0dc0 20 70 72 65 76 69 6f 75 73 2d 6c 69 6e 65 29 29 29 0a 0a 28 64 65 66 75 6e 20 63 6f 6d 6d 61 6e   ┆ previous-line)))  (defun comman┆
0x0dc0…0de0 64 2d 68 69 73 74 6f 72 79 2d 6d 6f 64 65 20 6e 69 6c 20 22 5c 0a 4d 61 6a 6f 72 20 6d 6f 64 65   ┆d-history-mode nil "\ Major mode┆
0x0de0…0e00 20 66 6f 72 20 65 78 61 6d 69 6e 69 6e 67 20 63 6f 6d 6d 61 6e 64 73 20 66 72 6f 6d 20 20 63 6f   ┆ for examining commands from  co┆
0x0e00…0e20 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2e 0a 54 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 63 6f 6d   ┆mmand-history. The number of com┆
0x0e20…0e40 6d 61 6e 64 73 20 6c 69 73 74 65 64 20 69 73 20 63 6f 6e 74 72 6f 6c 6c 65 64 20 62 79 20 20 6c   ┆mands listed is controlled by  l┆
0x0e40…0e60 69 73 74 2d 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 6d 61 78 2e 0a 54 68 65 20 63 6f 6d   ┆ist-command-history-max. The com┆
0x0e60…0e80 6d 61 6e 64 20 68 69 73 74 6f 72 79 20 69 73 20 66 69 6c 74 65 72 65 64 20 62 79 20 20 6c 69 73   ┆mand history is filtered by  lis┆
0x0e80…0ea0 74 2d 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 66 69 6c 74 65 72 20 20 69 66 20 6e 6f 6e   ┆t-command-history-filter  if non┆
0x0ea0…0ec0 2d 6e 69 6c 2e 0a 0a 4c 69 6b 65 20 45 6d 61 63 73 2d 4c 69 73 70 20 4d 6f 64 65 20 65 78 63 65   ┆-nil.  Like Emacs-Lisp Mode exce┆
0x0ec0…0ee0 70 74 20 74 68 61 74 20 63 68 61 72 61 63 74 65 72 73 20 64 6f 20 6e 6f 74 20 69 6e 73 65 72 74   ┆pt that characters do not insert┆
0x0ee0…0f00 20 74 68 65 6d 73 65 6c 76 65 73 20 61 6e 64 0a 44 69 67 69 74 73 20 70 72 6f 76 69 64 65 20 70   ┆ themselves and Digits provide p┆
0x0f00…0f20 72 65 66 69 78 20 61 72 67 75 6d 65 6e 74 73 2e 20 20 54 61 62 20 64 6f 65 73 20 6e 6f 74 20 69   ┆refix arguments.  Tab does not i┆
0x0f20…0f40 6e 64 65 6e 74 2e 0a 5c 5c 7b 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f 72 79 2d 6d 61 70 7d 0a 43   ┆ndent. \\{command-history-map} C┆
0x0f40…0f60 61 6c 6c 73 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 20 63 6f 6d 6d 61 6e 64 2d 68 69 73 74 6f   ┆alls the value of  command-histo┆
0x0f60…0f80 72 79 2d 68 6f 6f 6b 20 20 69 66 20 74 68 61 74 20 69 73 20 6e 6f 6e 2d 6e 69 6c 0a 54 68 65 20   ┆ry-hook  if that is non-nil The ┆
0x0f80…0fa0 43 6f 6d 6d 61 6e 64 20 48 69 73 74 6f 72 79 20 6c 69 73 74 69 6e 67 20 69 73 20 72 65 63 6f 6d   ┆Command History listing is recom┆
0x0fa0…0fc0 70 75 74 65 64 20 65 61 63 68 20 74 69 6d 65 20 74 68 69 73 20 6d 6f 64 65 20 69 73 0a 69 6e 76   ┆puted each time this mode is inv┆
0x0fc0…0fe0 6f 6b 65 64 2e 22 20 28 69 6e 74 65 72 61 63 74 69 76 65 29 20 28 62 79 74 65 2d 63 6f 64 65 20   ┆oked." (interactive) (byte-code ┆
0x0fe0…1000 22 c0 88 c1 20 88 c2 c3 21 88 c4 c5 21 87 22 20 5b 6e 69 6c 20 6c 69 73 74 2d 63 6f 6d 6d 61 6e   ┆"       !   ! " [nil list-comman┆
0x1000…1020 64 2d 68 69 73 74 6f 72 79 20 70 6f 70 2d 74 6f 2d 62 75 66 66 65 72 20 22 2a 43 6f 6d 6d 61 6e   ┆d-history pop-to-buffer "*Comman┆
0x1020…1040 64 20 48 69 73 74 6f 72 79 2a 22 20 72 75 6e 2d 68 6f 6f 6b 73 20 63 6f 6d 6d 61 6e 64 2d 68 69   ┆d History*" run-hooks command-hi┆
0x1040…1050 73 74 6f 72 79 2d 68 6f 6f 6b 5d 20 34 29 29 0a   ┆story-hook] 4)) ┆