Mercurial > emacs
annotate lisp/chistory.el @ 110523:a5ad4f188e19
Synch Semantic to CEDET 1.0.
Move CEDET ChangeLog entries to new file lisp/cedet/ChangeLog.
* semantic.el (semantic-version): Update to 2.0.
(semantic-mode-map): Add "," and "m" bindings.
(navigate-menu): Update.
* semantic/symref.el (semantic-symref-calculate-rootdir):
New function.
(semantic-symref-detect-symref-tool): Use it.
* semantic/symref/grep.el (semantic-symref-grep-shell): New var.
(semantic-symref-perform-search): Use it. Calculate root dir with
semantic-symref-calculate-rootdir.
(semantic-symref-derive-find-filepatterns): Improve error message.
* semantic/symref/list.el
(semantic-symref-results-mode-map): New bindings.
(semantic-symref-auto-expand-results): New option.
(semantic-symref-results-dump): Obey auto-expand.
(semantic-symref-list-expand-all, semantic-symref-regexp)
(semantic-symref-list-contract-all)
(semantic-symref-list-map-open-hits)
(semantic-symref-list-update-open-hits)
(semantic-symref-list-create-macro-on-open-hit)
(semantic-symref-list-call-macro-on-open-hits): New functions.
(semantic-symref-list-menu-entries)
(semantic-symref-list-menu): New vars.
(semantic-symref-list-map-open-hits): Move cursor to beginning of
match before calling the mapped function.
* semantic/doc.el
(semantic-documentation-comment-preceeding-tag): Do nothing if the
mode doesn't provide comment-start-skip.
* semantic/scope.el
(semantic-analyze-scope-nested-tags-default): Strip duplicates.
(semantic-analyze-scoped-inherited-tag-map): Take the tag we are
looking for as part of the scoped tags list.
* semantic/html.el (semantic-default-html-setup): Add
senator-step-at-tag-classes.
* semantic/decorate/include.el
(semantic-decoration-on-unknown-includes): Change light bgcolor.
(semantic-decoration-on-includes-highlight-default): Check that
the include tag has a postion.
* semantic/complete.el (semantic-collector-local-members):
(semantic-complete-read-tag-local-members)
(semantic-complete-jump-local-members): New class and functions.
(semantic-complete-self-insert): Save excursion before completing.
* semantic/analyze/complete.el
(semantic-analyze-possible-completions-default): If no completions
are found, return the raw by-name-only completion list. Add FLAGS
arguments. Add support for 'no-tc (type constraint) and
'no-unique, or no stripping duplicates.
(semantic-analyze-possible-completions-default): Add FLAGS arg.
* semantic/util-modes.el
(semantic-stickyfunc-show-only-functions-p): New option.
(semantic-stickyfunc-fetch-stickyline): Don't show stickytext for
the very first line in a buffer.
* semantic/util.el (semantic-hack-search)
(semantic-recursive-find-nonterminal-by-name)
(semantic-current-tag-interactive): Deleted.
(semantic-describe-buffer): Fix expand-nonterminal. Add
lex-syntax-mods, type relation separator char, and command
separation char.
(semantic-sanity-check): Only message if called interactively.
* semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the
:filename property and the tag position.
* semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
Add recursion limit.
* semantic/imenu.el (semantic-imenu-bucketize-type-members):
Make this buffer local, not the obsoleted variable.
* semantic/idle.el: Add breadcrumbs support.
(semantic-idle-summary-current-symbol-info-default)
(semantic-idle-tag-highlight)
(semantic-idle-completion-list-default): Use
semanticdb-without-unloaded-file-searches for speed, and to
conform to the controls that specify if the idle timer is supposed
to be parsing unparsed includes.
(semantic-idle-symbol-highlight-face)
(semantic-idle-symbol-maybe-highlight): Rename from *-summary-*.
Callers changed.
(semantic-idle-work-parse-neighboring-files-flag): Default to nil.
(semantic-idle-work-update-headers-flag): New var.
(semantic-idle-work-for-one-buffer): Use it.
(semantic-idle-local-symbol-highlight): Rename from
semantic-idle-tag-highlight.
(semantic-idle-truncate-long-summaries): New option.
* semantic/ia.el (semantic-ia-cache)
(semantic-ia-get-completions): Deleted. Callers changed.
(semantic-ia-show-variants): New command.
(semantic-ia-show-doc): If doc is empty, don't make a temp buffer.
(semantic-ia-show-summary): If there isn't anything to show, say so.
* semantic/grammar.el (semantic-grammar-create-package):
Save the buffer even in batch mode.
* semantic/fw.el
(semanticdb-without-unloaded-file-searches): New macro.
* semantic/dep.el (semantic-dependency-find-file-on-path):
Fix case dereferencing ede-object when it is a list.
* semantic/db-typecache.el (semanticdb-expand-nested-tag)
(semanticdb-typecache-faux-namespace): New functions.
(semanticdb-typecache-file-tags)
(semanticdb-typecache-merge-streams): Use them.
(semanticdb-typecache-file-tags): When deriving tags from a file,
give the mode a chance to monkey with the tag copy.
(semanticdb-typecache-find-default): Wrap find in save-excursion.
(semanticdb-typecache-find-by-name-helper): Merge found names down.
* semantic/db-global.el
(semanticdb-enable-gnu-global-in-buffer): Don't show messages if
GNU Global is not available and we don't want to throw an error.
* semantic/db-find.el (semanticdb-find-result-nth-in-buffer):
When trying to normalize the tag to a buffer, don't error if
set-buffer method doesn't exist.
* semantic/db-file.el (semanticdb-save-db): Simplify msg.
* semantic/db.el (semanticdb-refresh-table): If forcing a
refresh on a file not in a buffer, use semantic-find-file-noselect
and delete the buffer after use.
(semanticdb-current-database-list): When calculating root via
hooks, force it through true-filename and skip the list of
possible roots.
* semantic/ctxt.el (semantic-ctxt-imported-packages): New.
* semantic/analyze/debug.el
(semantic-analyzer-debug-insert-tag): Reset standard output to
current buffer.
(semantic-analyzer-debug-global-symbol)
(semantic-analyzer-debug-missing-innertype): Change "prefix" to
"symbol" in messages.
* semantic/analyze/refs.el: (semantic-analyze-refs-impl)
(semantic-analyze-refs-proto): When calculating value, make sure
the found tag is 'similar' to the originating tag.
(semantic--analyze-refs-find-tags-with-parent): Attempt to
identify matches via imported symbols of parents.
(semantic--analyze-refs-full-lookup-with-parents): Do a deep
search during the brute search.
* semantic/analyze.el
(semantic-analyze-find-tag-sequence-default): Be robust to
calculated scopes being nil.
* semantic/bovine/c.el (semantic-c-describe-environment): Add
project macro symbol array.
(semantic-c-parse-lexical-token): Add recursion limit.
(semantic-ctxt-imported-packages, semanticdb-expand-nested-tag):
New overrides.
(semantic-expand-c-tag-namelist): Split a full type from a typedef
out to its own tag.
(semantic-expand-c-tag-namelist): Do not split out a typedef'd
inline type if it is an anonymous type.
(semantic-c-reconstitute-token): Use the optional initializers as
a clue that some function is probably a constructor. When
defining the type of these constructors, split the parent name,
and use only the class part, if applicable.
* semantic/bovine/c-by.el:
* semantic/wisent/python-wy.el: Regenerate.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 18 Sep 2010 22:49:54 -0400 |
parents | 1d1d5d9bd884 |
children | 376148b31b5e |
rev | line source |
---|---|
662
8a533acedb77
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
584
diff
changeset
|
1 ;;; chistory.el --- list command history |
8a533acedb77
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
584
diff
changeset
|
2 |
74439 | 3 ;; Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, |
106815 | 4 ;; 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
845 | 5 |
807
4f28bd14272c
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
662
diff
changeset
|
6 ;; Author: K. Shane Hartman |
4f28bd14272c
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
662
diff
changeset
|
7 ;; Maintainer: FSF |
45078 | 8 ;; Keywords: convenience |
411 | 9 |
10 ;; This file is part of GNU Emacs. | |
11 | |
94678
ee5932bf781d
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
12 ;; GNU Emacs is free software: you can redistribute it and/or modify |
411 | 13 ;; it under the terms of the GNU General Public License as published by |
94678
ee5932bf781d
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
14 ;; the Free Software Foundation, either version 3 of the License, or |
ee5932bf781d
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
15 ;; (at your option) any later version. |
411 | 16 |
17 ;; GNU Emacs is distributed in the hope that it will be useful, | |
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 ;; GNU General Public License for more details. | |
21 | |
22 ;; You should have received a copy of the GNU General Public License | |
94678
ee5932bf781d
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93975
diff
changeset
|
23 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
411 | 24 |
807
4f28bd14272c
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
662
diff
changeset
|
25 ;;; Commentary: |
411 | 26 |
27 ;; This really has nothing to do with list-command-history per se, but | |
9626
e928e72d3342
(repeat-matching-complex-command): Fix check for empty pattern. Simplify.
Karl Heuer <kwzh@gnu.org>
parents:
2452
diff
changeset
|
28 ;; its a nice alternative to C-x ESC ESC (repeat-complex-command) and |
411 | 29 ;; functions as a lister if given no pattern. It's not important |
30 ;; enough to warrant a file of its own. | |
31 | |
807
4f28bd14272c
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
662
diff
changeset
|
32 ;;; Code: |
4f28bd14272c
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
662
diff
changeset
|
33 |
21088 | 34 (defgroup chistory nil |
35 "List command history." | |
36 :group 'keyboard) | |
37 | |
411 | 38 ;;;###autoload |
39 (defun repeat-matching-complex-command (&optional pattern) | |
40 "Edit and re-evaluate complex command with name matching PATTERN. | |
41 Matching occurrences are displayed, most recent first, until you select | |
42 a form for evaluation. If PATTERN is empty (or nil), every form in the | |
43 command history is offered. The form is placed in the minibuffer for | |
44 editing and the result is evaluated." | |
45 (interactive "sRedo Command (regexp): ") | |
46 (if pattern | |
9626
e928e72d3342
(repeat-matching-complex-command): Fix check for empty pattern. Simplify.
Karl Heuer <kwzh@gnu.org>
parents:
2452
diff
changeset
|
47 (if (string-match "[^ \t]" pattern) |
e928e72d3342
(repeat-matching-complex-command): Fix check for empty pattern. Simplify.
Karl Heuer <kwzh@gnu.org>
parents:
2452
diff
changeset
|
48 (setq pattern (substring pattern (match-beginning 0))) |
e928e72d3342
(repeat-matching-complex-command): Fix check for empty pattern. Simplify.
Karl Heuer <kwzh@gnu.org>
parents:
2452
diff
changeset
|
49 (setq pattern nil))) |
411 | 50 (let ((history command-history) |
51 (temp) | |
52 (what)) | |
53 (while (and history (not what)) | |
54 (setq temp (car history)) | |
55 (if (and (or (not pattern) (string-match pattern (symbol-name (car temp)))) | |
9626
e928e72d3342
(repeat-matching-complex-command): Fix check for empty pattern. Simplify.
Karl Heuer <kwzh@gnu.org>
parents:
2452
diff
changeset
|
56 (y-or-n-p (format "Redo %S? " temp))) |
411 | 57 (setq what (car history)) |
58 (setq history (cdr history)))) | |
59 (if (not what) | |
60 (error "Command history exhausted") | |
61 ;; Try to remove any useless command history element for this command. | |
62 (if (eq (car (car command-history)) 'repeat-matching-complex-command) | |
63 (setq command-history (cdr command-history))) | |
64 (edit-and-eval-command "Redo: " what)))) | |
65 | |
21088 | 66 (defcustom default-command-history-filter-garbage |
411 | 67 '(command-history-mode |
68 list-command-history | |
69 electric-command-history) | |
100171 | 70 "A list of symbols to be ignored by `default-command-history-filter'. |
21088 | 71 If that function is given a list whose car is an element of this list, |
9626
e928e72d3342
(repeat-matching-complex-command): Fix check for empty pattern. Simplify.
Karl Heuer <kwzh@gnu.org>
parents:
2452
diff
changeset
|
72 then it will return non-nil (indicating the list should be discarded from |
e928e72d3342
(repeat-matching-complex-command): Fix check for empty pattern. Simplify.
Karl Heuer <kwzh@gnu.org>
parents:
2452
diff
changeset
|
73 the history). |
21088 | 74 Initially, all commands related to the command history are discarded." |
75 :type '(repeat symbol) | |
76 :group 'chistory) | |
411 | 77 |
78 (defvar list-command-history-filter 'default-command-history-filter | |
9626
e928e72d3342
(repeat-matching-complex-command): Fix check for empty pattern. Simplify.
Karl Heuer <kwzh@gnu.org>
parents:
2452
diff
changeset
|
79 "Predicate to test which commands should be excluded from the history listing. |
e928e72d3342
(repeat-matching-complex-command): Fix check for empty pattern. Simplify.
Karl Heuer <kwzh@gnu.org>
parents:
2452
diff
changeset
|
80 If non-nil, should be the name of a function of one argument. |
411 | 81 It is passed each element of the command history when |
82 \\[list-command-history] is called. If the filter returns non-nil for | |
83 some element, that element is excluded from the history listing. The | |
84 default filter removes commands associated with the command-history.") | |
85 | |
86 (defun default-command-history-filter (frob) | |
87 "Filter commands matching `default-command-history-filter-garbage' list | |
88 from the command history." | |
89 (or (not (consp frob)) | |
90 (memq (car frob) default-command-history-filter-garbage))) | |
91 | |
21088 | 92 (defcustom list-command-history-max 32 |
100171 | 93 "If non-nil, maximum length of the listing produced by `list-command-history'." |
21088 | 94 :type '(choice integer (const nil)) |
95 :group 'chistory) | |
411 | 96 |
97 ;;;###autoload | |
98 (defun list-command-history () | |
99 "List history of commands typed to minibuffer. | |
100 The number of commands listed is controlled by `list-command-history-max'. | |
101 Calls value of `list-command-history-filter' (if non-nil) on each history | |
102 element to judge if that element should be excluded from the list. | |
103 | |
104 The buffer is left in Command History mode." | |
105 (interactive) | |
106 (with-output-to-temp-buffer | |
107 "*Command History*" | |
108 (let ((history command-history) | |
109 (buffer-read-only nil) | |
110 (count (or list-command-history-max -1))) | |
111 (while (and (/= count 0) history) | |
96381
e495cfc33b5e
(list-command-history): Use `bound-and-true-p'.
John Paul Wallington <jpw@pobox.com>
parents:
94678
diff
changeset
|
112 (if (and (bound-and-true-p list-command-history-filter) |
411 | 113 (funcall list-command-history-filter (car history))) |
114 nil | |
115 (setq count (1- count)) | |
116 (prin1 (car history)) | |
117 (terpri)) | |
118 (setq history (cdr history)))) | |
105994
009383a57ce8
* x-dnd.el (x-dnd-maybe-call-test-function):
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
100908
diff
changeset
|
119 (with-current-buffer "*Command History*" |
411 | 120 (goto-char (point-min)) |
121 (if (eobp) | |
122 (error "No command history") | |
27065
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
123 (command-history-mode))))) |
411 | 124 |
96381
e495cfc33b5e
(list-command-history): Use `bound-and-true-p'.
John Paul Wallington <jpw@pobox.com>
parents:
94678
diff
changeset
|
125 (defvar command-history-map |
e495cfc33b5e
(list-command-history): Use `bound-and-true-p'.
John Paul Wallington <jpw@pobox.com>
parents:
94678
diff
changeset
|
126 (let ((map (make-sparse-keymap))) |
e495cfc33b5e
(list-command-history): Use `bound-and-true-p'.
John Paul Wallington <jpw@pobox.com>
parents:
94678
diff
changeset
|
127 (set-keymap-parent map lisp-mode-shared-map) |
e495cfc33b5e
(list-command-history): Use `bound-and-true-p'.
John Paul Wallington <jpw@pobox.com>
parents:
94678
diff
changeset
|
128 (suppress-keymap map) |
e495cfc33b5e
(list-command-history): Use `bound-and-true-p'.
John Paul Wallington <jpw@pobox.com>
parents:
94678
diff
changeset
|
129 (define-key map "x" 'command-history-repeat) |
e495cfc33b5e
(list-command-history): Use `bound-and-true-p'.
John Paul Wallington <jpw@pobox.com>
parents:
94678
diff
changeset
|
130 (define-key map "\n" 'next-line) |
e495cfc33b5e
(list-command-history): Use `bound-and-true-p'.
John Paul Wallington <jpw@pobox.com>
parents:
94678
diff
changeset
|
131 (define-key map "\r" 'next-line) |
e495cfc33b5e
(list-command-history): Use `bound-and-true-p'.
John Paul Wallington <jpw@pobox.com>
parents:
94678
diff
changeset
|
132 (define-key map "\177" 'previous-line) |
e495cfc33b5e
(list-command-history): Use `bound-and-true-p'.
John Paul Wallington <jpw@pobox.com>
parents:
94678
diff
changeset
|
133 map) |
e495cfc33b5e
(list-command-history): Use `bound-and-true-p'.
John Paul Wallington <jpw@pobox.com>
parents:
94678
diff
changeset
|
134 "Keymap for `command-history-mode'.") |
48915
36f7a48a9735
(command-history-map): Move definition up.
Richard M. Stallman <rms@gnu.org>
parents:
48778
diff
changeset
|
135 |
27065
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
136 (defun command-history-mode () |
48778
d414c281a629
* ibuffer.el (ibuffer-mode): If `show-paren-mode' is enabled,
John Paul Wallington <jpw@pobox.com>
parents:
45078
diff
changeset
|
137 "Major mode for listing and repeating recent commands. |
d414c281a629
* ibuffer.el (ibuffer-mode): If `show-paren-mode' is enabled,
John Paul Wallington <jpw@pobox.com>
parents:
45078
diff
changeset
|
138 |
d414c281a629
* ibuffer.el (ibuffer-mode): If `show-paren-mode' is enabled,
John Paul Wallington <jpw@pobox.com>
parents:
45078
diff
changeset
|
139 Keybindings: |
d414c281a629
* ibuffer.el (ibuffer-mode): If `show-paren-mode' is enabled,
John Paul Wallington <jpw@pobox.com>
parents:
45078
diff
changeset
|
140 \\{command-history-map}" |
d414c281a629
* ibuffer.el (ibuffer-mode): If `show-paren-mode' is enabled,
John Paul Wallington <jpw@pobox.com>
parents:
45078
diff
changeset
|
141 (interactive) |
27065
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
142 (Command-history-setup) |
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
143 (setq major-mode 'command-history-mode) |
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
144 (setq mode-name "Command History") |
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
145 (use-local-map command-history-map) |
62721
049538abf38f
(command-history-mode): Use run-mode-hooks.
Lute Kamstra <lute@gnu.org>
parents:
52401
diff
changeset
|
146 (run-mode-hooks 'command-history-mode-hook)) |
27065
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
147 |
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
148 (defun Command-history-setup () |
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
149 (kill-all-local-variables) |
33941
10c41fa2dafe
(Command-history-setup): Remove extraneous `keymap'
Gerd Moellmann <gerd@gnu.org>
parents:
32367
diff
changeset
|
150 (use-local-map command-history-map) |
411 | 151 (lisp-mode-variables nil) |
152 (set-syntax-table emacs-lisp-mode-syntax-table) | |
27065
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
153 (setq buffer-read-only t)) |
411 | 154 |
21088 | 155 (defcustom command-history-hook nil |
156 "If non-nil, its value is called on entry to `command-history-mode'." | |
157 :type 'hook | |
158 :group 'chistory) | |
411 | 159 |
160 (defun command-history-repeat () | |
161 "Repeat the command shown on the current line. | |
162 The buffer for that command is the previous current buffer." | |
163 (interactive) | |
164 (save-excursion | |
165 (eval (prog1 | |
166 (save-excursion | |
167 (beginning-of-line) | |
168 (read (current-buffer))) | |
169 (set-buffer | |
2452
5c9d9b33f249
(repeat-history-command): Bug fix. Someone forgot a car.
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
845
diff
changeset
|
170 (car (cdr (buffer-list)))))))) |
411 | 171 |
172 ;;;###autoload | |
27065
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
173 (defun command-history () |
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
174 "Examine commands from `command-history' in a buffer. |
411 | 175 The number of commands listed is controlled by `list-command-history-max'. |
176 The command history is filtered by `list-command-history-filter' if non-nil. | |
177 Use \\<command-history-map>\\[command-history-repeat] to repeat the command on the current line. | |
178 | |
179 Otherwise much like Emacs-Lisp Mode except that there is no self-insertion | |
180 and digits provide prefix arguments. Tab does not indent. | |
181 \\{command-history-map} | |
27065
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
182 |
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
183 This command always recompiles the Command History listing |
bd4ad2d321a7
(command-history): Renamed from command-history-mode.
Richard M. Stallman <rms@gnu.org>
parents:
21088
diff
changeset
|
184 and runs the normal hook `command-history-hook'." |
411 | 185 (interactive) |
186 (list-command-history) | |
187 (pop-to-buffer "*Command History*") | |
188 (run-hooks 'command-history-hook)) | |
584 | 189 |
190 (provide 'chistory) | |
191 | |
93975
1e3a407766b9
Fix up comment convention on the arch-tag lines.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
79721
diff
changeset
|
192 ;; arch-tag: c201a0cd-89f2-4d39-a532-4cb309391dbd |
662
8a533acedb77
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
584
diff
changeset
|
193 ;;; chistory.el ends here |