]> code.delx.au - gnu-emacs/blob - lisp/emacs-lisp/eldoc.el
merge upstream
[gnu-emacs] / lisp / emacs-lisp / eldoc.el
1 ;;; eldoc.el --- show function arglist or variable docstring in echo area
2
3 ;; Copyright (C) 1996-2013 Free Software Foundation, Inc.
4
5 ;; Author: Noah Friedman <friedman@splode.com>
6 ;; Maintainer: friedman@splode.com
7 ;; Keywords: extensions
8 ;; Created: 1995-10-06
9
10 ;; This file is part of GNU Emacs.
11
12 ;; GNU Emacs is free software: you can redistribute it and/or modify
13 ;; it under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation, either version 3 of the License, or
15 ;; (at your option) any later version.
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
23 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
24
25 ;;; Commentary:
26
27 ;; This program was inspired by the behavior of the "mouse documentation
28 ;; window" on many Lisp Machine systems; as you type a function's symbol
29 ;; name as part of a sexp, it will print the argument list for that
30 ;; function. Behavior is not identical; for example, you need not actually
31 ;; type the function name, you need only move point around in a sexp that
32 ;; calls it. Also, if point is over a documented variable, it will print
33 ;; the one-line documentation for that variable instead, to remind you of
34 ;; that variable's meaning.
35
36 ;; One useful way to enable this minor mode is to put the following in your
37 ;; .emacs:
38 ;;
39 ;; (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode)
40 ;; (add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode)
41 ;; (add-hook 'ielm-mode-hook 'turn-on-eldoc-mode)
42
43 ;; Major modes for other languages may use ElDoc by defining an
44 ;; appropriate function as the buffer-local value of
45 ;; `eldoc-documentation-function'.
46
47 ;;; Code:
48
49 (require 'help-fns) ;For fundoc-usage handling functions.
50
51 (defgroup eldoc nil
52 "Show function arglist or variable docstring in echo area."
53 :group 'lisp
54 :group 'extensions)
55
56 (defcustom eldoc-idle-delay 0.50
57 "Number of seconds of idle time to wait before printing.
58 If user input arrives before this interval of time has elapsed after the
59 last input, no documentation will be printed.
60
61 If this variable is set to 0, no idle time is required."
62 :type 'number
63 :group 'eldoc)
64
65 ;;;###autoload
66 (defcustom eldoc-minor-mode-string (purecopy " ElDoc")
67 "String to display in mode line when ElDoc Mode is enabled; nil for none."
68 :type '(choice string (const :tag "None" nil))
69 :group 'eldoc)
70
71 (defcustom eldoc-argument-case 'upcase
72 "Case to display argument names of functions, as a symbol.
73 This has two preferred values: `upcase' or `downcase'.
74 Actually, any name of a function which takes a string as an argument and
75 returns another string is acceptable.
76
77 Note that if `eldoc-documentation-function' is non-nil, this variable
78 has no effect, unless the function handles it explicitly."
79 :type '(radio (function-item upcase)
80 (function-item downcase)
81 function)
82 :group 'eldoc)
83
84 (defcustom eldoc-echo-area-use-multiline-p 'truncate-sym-name-if-fit
85 "Allow long ElDoc messages to resize echo area display.
86 If value is t, never attempt to truncate messages; complete symbol name
87 and function arglist or 1-line variable documentation will be displayed
88 even if echo area must be resized to fit.
89
90 If value is any non-nil value other than t, symbol name may be truncated
91 if it will enable the function arglist or documentation string to fit on a
92 single line without resizing window. Otherwise, behavior is just like
93 former case.
94
95 If value is nil, messages are always truncated to fit in a single line of
96 display in the echo area. Function or variable symbol name may be
97 truncated to make more of the arglist or documentation string visible.
98
99 Note that if `eldoc-documentation-function' is non-nil, this variable
100 has no effect, unless the function handles it explicitly."
101 :type '(radio (const :tag "Always" t)
102 (const :tag "Never" nil)
103 (const :tag "Yes, but truncate symbol names if it will\
104 enable argument list to fit on one line" truncate-sym-name-if-fit))
105 :group 'eldoc)
106
107 (defface eldoc-highlight-function-argument
108 '((t (:inherit bold)))
109 "Face used for the argument at point in a function's argument list.
110 Note that if `eldoc-documentation-function' is non-nil, this face
111 has no effect, unless the function handles it explicitly."
112 :group 'eldoc)
113
114 ;;; No user options below here.
115
116 (defvar eldoc-message-commands-table-size 31
117 "Used by `eldoc-add-command' to initialize `eldoc-message-commands' obarray.
118 It should probably never be necessary to do so, but if you
119 choose to increase the number of buckets, you must do so before loading
120 this file since the obarray is initialized at load time.
121 Remember to keep it a prime number to improve hash performance.")
122
123 (defconst eldoc-message-commands
124 (make-vector eldoc-message-commands-table-size 0)
125 "Commands after which it is appropriate to print in the echo area.
126 ElDoc does not try to print function arglists, etc., after just any command,
127 because some commands print their own messages in the echo area and these
128 functions would instantly overwrite them. But `self-insert-command' as well
129 as most motion commands are good candidates.
130 This variable contains an obarray of symbols; do not manipulate it
131 directly. Instead, use `eldoc-add-command' and `eldoc-remove-command'.")
132
133 ;; Not a constant.
134 (defconst eldoc-last-data (make-vector 3 nil)
135 "Bookkeeping; elements are as follows:
136 0 - contains the last symbol read from the buffer.
137 1 - contains the string last displayed in the echo area for variables,
138 or argument string for functions.
139 2 - 'function if function args, 'variable if variable documentation.")
140
141 (defvar eldoc-last-message nil)
142
143 (defvar eldoc-timer nil "ElDoc's timer object.")
144
145 (defvar eldoc-current-idle-delay eldoc-idle-delay
146 "Idle time delay currently in use by timer.
147 This is used to determine if `eldoc-idle-delay' is changed by the user.")
148
149 (defvar eldoc-message-function 'eldoc-minibuffer-message
150 "The function used by `eldoc-message' to display messages.
151 It should receive the same arguments as `message'.")
152
153 \f
154 ;;;###autoload
155 (define-minor-mode eldoc-mode
156 "Toggle echo area display of Lisp objects at point (ElDoc mode).
157 With a prefix argument ARG, enable ElDoc mode if ARG is positive,
158 and disable it otherwise. If called from Lisp, enable ElDoc mode
159 if ARG is omitted or nil.
160
161 ElDoc mode is a buffer-local minor mode. When enabled, the echo
162 area displays information about a function or variable in the
163 text where point is. If point is on a documented variable, it
164 displays the first line of that variable's doc string. Otherwise
165 it displays the argument list of the function called in the
166 expression point is on."
167 :group 'eldoc :lighter eldoc-minor-mode-string
168 (setq eldoc-last-message nil)
169 (if eldoc-mode
170 (progn
171 (add-hook 'post-command-hook 'eldoc-schedule-timer nil t)
172 (add-hook 'pre-command-hook 'eldoc-pre-command-refresh-echo-area t))
173 (remove-hook 'post-command-hook 'eldoc-schedule-timer)
174 (remove-hook 'pre-command-hook 'eldoc-pre-command-refresh-echo-area)))
175
176 ;;;###autoload
177 (define-minor-mode eldoc-post-insert-mode nil
178 :group 'eldoc :lighter (:eval (if eldoc-mode ""
179 (concat eldoc-minor-mode-string "|i")))
180 (setq eldoc-last-message nil)
181 (let ((prn-info (lambda ()
182 (unless eldoc-mode
183 (eldoc-print-current-symbol-info)))))
184 (if eldoc-post-insert-mode
185 (add-hook 'post-self-insert-hook prn-info nil t)
186 (remove-hook 'post-self-insert-hook prn-info t))))
187
188 ;; FIXME: This changes Emacs's behavior when the file is loaded!
189 (add-hook 'eval-expression-minibuffer-setup-hook 'eldoc-post-insert-mode)
190
191 ;;;###autoload
192 (defun turn-on-eldoc-mode ()
193 "Unequivocally turn on ElDoc mode (see command `eldoc-mode')."
194 (interactive)
195 (eldoc-mode 1))
196
197 \f
198 (defun eldoc-schedule-timer ()
199 (or (and eldoc-timer
200 (memq eldoc-timer timer-idle-list))
201 (setq eldoc-timer
202 (run-with-idle-timer
203 eldoc-idle-delay t
204 (lambda () (and eldoc-mode (eldoc-print-current-symbol-info))))))
205
206 ;; If user has changed the idle delay, update the timer.
207 (cond ((not (= eldoc-idle-delay eldoc-current-idle-delay))
208 (setq eldoc-current-idle-delay eldoc-idle-delay)
209 (timer-set-idle-time eldoc-timer eldoc-idle-delay t))))
210
211 (defvar eldoc-mode-line-string nil)
212 (put 'eldoc-mode-line-string 'risky-local-variable t)
213
214 (defun eldoc-minibuffer-message (format-string &rest args)
215 "Display messages in the mode-line when in the minibuffer.
216 Otherwise work like `message'."
217 (if (minibufferp)
218 (progn
219 (with-current-buffer
220 (window-buffer
221 (or (window-in-direction 'above (minibuffer-window))
222 (minibuffer-selected-window)
223 (get-largest-window)))
224 (unless (and (listp mode-line-format)
225 (assq 'eldoc-mode-line-string mode-line-format))
226 (setq mode-line-format
227 (list "" '(eldoc-mode-line-string
228 (" " eldoc-mode-line-string " "))
229 mode-line-format))))
230 (add-hook 'minibuffer-exit-hook
231 (lambda () (setq eldoc-mode-line-string nil))
232 nil t)
233 (cond
234 ((null format-string)
235 (setq eldoc-mode-line-string nil))
236 ((stringp format-string)
237 (setq eldoc-mode-line-string
238 (apply 'format format-string args))))
239 (force-mode-line-update))
240 (apply 'message format-string args)))
241
242 (defun eldoc-message (&rest args)
243 (let ((omessage eldoc-last-message))
244 (setq eldoc-last-message
245 (cond ((eq (car args) eldoc-last-message) eldoc-last-message)
246 ((null (car args)) nil)
247 ;; If only one arg, no formatting to do, so put it in
248 ;; eldoc-last-message so eq test above might succeed on
249 ;; subsequent calls.
250 ((null (cdr args)) (car args))
251 (t (apply 'format args))))
252 ;; In emacs 19.29 and later, and XEmacs 19.13 and later, all messages
253 ;; are recorded in a log. Do not put eldoc messages in that log since
254 ;; they are Legion.
255 ;; Emacs way of preventing log messages.
256 (let ((message-log-max nil))
257 (cond (eldoc-last-message
258 (funcall eldoc-message-function "%s" eldoc-last-message))
259 (omessage (funcall eldoc-message-function nil)))))
260 eldoc-last-message)
261
262 ;; This function goes on pre-command-hook for XEmacs or when using idle
263 ;; timers in Emacs. Motion commands clear the echo area for some reason,
264 ;; which make eldoc messages flicker or disappear just before motion
265 ;; begins. This function reprints the last eldoc message immediately
266 ;; before the next command executes, which does away with the flicker.
267 ;; This doesn't seem to be required for Emacs 19.28 and earlier.
268 (defun eldoc-pre-command-refresh-echo-area ()
269 (and eldoc-last-message
270 (if (eldoc-display-message-no-interference-p)
271 (eldoc-message eldoc-last-message)
272 (setq eldoc-last-message nil))))
273
274 ;; Decide whether now is a good time to display a message.
275 (defun eldoc-display-message-p ()
276 (and (eldoc-display-message-no-interference-p)
277 ;; If this-command is non-nil while running via an idle
278 ;; timer, we're still in the middle of executing a command,
279 ;; e.g. a query-replace where it would be annoying to
280 ;; overwrite the echo area.
281 (and (not this-command)
282 (symbolp last-command)
283 (intern-soft (symbol-name last-command)
284 eldoc-message-commands))))
285
286 ;; Check various conditions about the current environment that might make
287 ;; it undesirable to print eldoc messages right this instant.
288 (defun eldoc-display-message-no-interference-p ()
289 (and eldoc-mode
290 (not executing-kbd-macro)
291 (not (and (boundp 'edebug-active) edebug-active))))
292
293 \f
294 ;;;###autoload
295 (defvar eldoc-documentation-function nil
296 "If non-nil, function to call to return doc string.
297 The function of no args should return a one-line string for displaying
298 doc about a function etc. appropriate to the context around point.
299 It should return nil if there's no doc appropriate for the context.
300 Typically doc is returned if point is on a function-like name or in its
301 arg list.
302
303 The result is used as is, so the function must explicitly handle
304 the variables `eldoc-argument-case' and `eldoc-echo-area-use-multiline-p',
305 and the face `eldoc-highlight-function-argument', if they are to have any
306 effect.
307
308 This variable is expected to be made buffer-local by modes (other than
309 Emacs Lisp mode) that support ElDoc.")
310
311 (defun eldoc-print-current-symbol-info ()
312 (condition-case err
313 (and (or (eldoc-display-message-p) eldoc-post-insert-mode)
314 (if eldoc-documentation-function
315 (eldoc-message (funcall eldoc-documentation-function))
316 (let* ((current-symbol (eldoc-current-symbol))
317 (current-fnsym (eldoc-fnsym-in-current-sexp))
318 (doc (cond
319 ((null current-fnsym)
320 nil)
321 ((eq current-symbol (car current-fnsym))
322 (or (apply 'eldoc-get-fnsym-args-string
323 current-fnsym)
324 (eldoc-get-var-docstring current-symbol)))
325 (t
326 (or (eldoc-get-var-docstring current-symbol)
327 (apply 'eldoc-get-fnsym-args-string
328 current-fnsym))))))
329 (eldoc-message doc))))
330 ;; This is run from post-command-hook or some idle timer thing,
331 ;; so we need to be careful that errors aren't ignored.
332 (error (message "eldoc error: %s" err))))
333
334 (defun eldoc-get-fnsym-args-string (sym &optional index)
335 "Return a string containing the parameter list of the function SYM.
336 If SYM is a subr and no arglist is obtainable from the docstring
337 or elsewhere, return a 1-line docstring. Calls the functions
338 `eldoc-function-argstring-format' and
339 `eldoc-highlight-function-argument' to format the result. The
340 former calls `eldoc-argument-case'; the latter gives the
341 function name `font-lock-function-name-face', and optionally
342 highlights argument number INDEX."
343 (let (args doc advertised)
344 (cond ((not (and sym (symbolp sym) (fboundp sym))))
345 ((and (eq sym (aref eldoc-last-data 0))
346 (eq 'function (aref eldoc-last-data 2)))
347 (setq doc (aref eldoc-last-data 1)))
348 ((listp (setq advertised (gethash (indirect-function sym)
349 advertised-signature-table t)))
350 (setq args advertised))
351 ((setq doc (help-split-fundoc (documentation sym t) sym))
352 (setq args (car doc))
353 ;; Remove any enclosing (), since e-function-argstring adds them.
354 (string-match "\\`[^ )]* ?" args)
355 (setq args (substring args (match-end 0)))
356 (if (string-match-p ")\\'" args)
357 (setq args (substring args 0 -1))))
358 (t
359 (setq args (help-function-arglist sym))))
360 (if args
361 ;; Stringify, and store before highlighting, downcasing, etc.
362 ;; FIXME should truncate before storing.
363 (eldoc-last-data-store sym (setq args (eldoc-function-argstring args))
364 'function)
365 (setq args doc)) ; use stored value
366 ;; Change case, highlight, truncate.
367 (if args
368 (eldoc-highlight-function-argument
369 sym (eldoc-function-argstring-format args) index))))
370
371 (defun eldoc-highlight-function-argument (sym args index)
372 "Highlight argument INDEX in ARGS list for function SYM.
373 In the absence of INDEX, just call `eldoc-docstring-format-sym-doc'."
374 (let ((start nil)
375 (end 0)
376 (argument-face 'eldoc-highlight-function-argument))
377 ;; Find the current argument in the argument string. We need to
378 ;; handle `&rest' and informal `...' properly.
379 ;;
380 ;; FIXME: What to do with optional arguments, like in
381 ;; (defun NAME ARGLIST [DOCSTRING] BODY...) case?
382 ;; The problem is there is no robust way to determine if
383 ;; the current argument is indeed a docstring.
384 (while (and index (>= index 1))
385 (if (string-match "[^ ()]+" args end)
386 (progn
387 (setq start (match-beginning 0)
388 end (match-end 0))
389 (let ((argument (match-string 0 args)))
390 (cond ((string= argument "&rest")
391 ;; All the rest arguments are the same.
392 (setq index 1))
393 ((string= argument "&optional"))
394 ((string-match-p "\\.\\.\\.$" argument)
395 (setq index 0))
396 (t
397 (setq index (1- index))))))
398 (setq end (length args)
399 start (1- end)
400 argument-face 'font-lock-warning-face
401 index 0)))
402 (let ((doc args))
403 (when start
404 (setq doc (copy-sequence args))
405 (add-text-properties start end (list 'face argument-face) doc))
406 (setq doc (eldoc-docstring-format-sym-doc
407 sym doc (if (functionp sym) 'font-lock-function-name-face
408 'font-lock-keyword-face)))
409 doc)))
410
411 ;; Return a string containing a brief (one-line) documentation string for
412 ;; the variable.
413 (defun eldoc-get-var-docstring (sym)
414 (when sym
415 (cond ((and (eq sym (aref eldoc-last-data 0))
416 (eq 'variable (aref eldoc-last-data 2)))
417 (aref eldoc-last-data 1))
418 (t
419 (let ((doc (documentation-property sym 'variable-documentation t)))
420 (cond (doc
421 (setq doc (eldoc-docstring-format-sym-doc
422 sym (eldoc-docstring-first-line doc)
423 'font-lock-variable-name-face))
424 (eldoc-last-data-store sym doc 'variable)))
425 doc)))))
426
427 (defun eldoc-last-data-store (symbol doc type)
428 (aset eldoc-last-data 0 symbol)
429 (aset eldoc-last-data 1 doc)
430 (aset eldoc-last-data 2 type))
431
432 ;; Note that any leading `*' in the docstring (which indicates the variable
433 ;; is a user option) is removed.
434 (defun eldoc-docstring-first-line (doc)
435 (and (stringp doc)
436 (substitute-command-keys
437 (save-match-data
438 ;; Don't use "^" in the regexp below since it may match
439 ;; anywhere in the doc-string.
440 (let ((start (if (string-match "\\`\\*" doc) (match-end 0) 0)))
441 (cond ((string-match "\n" doc)
442 (substring doc start (match-beginning 0)))
443 ((zerop start) doc)
444 (t (substring doc start))))))))
445
446 ;; If the entire line cannot fit in the echo area, the symbol name may be
447 ;; truncated or eliminated entirely from the output to make room for the
448 ;; description.
449 (defun eldoc-docstring-format-sym-doc (sym doc face)
450 (save-match-data
451 (let* ((name (symbol-name sym))
452 (ea-multi eldoc-echo-area-use-multiline-p)
453 ;; Subtract 1 from window width since emacs will not write
454 ;; any chars to the last column, or in later versions, will
455 ;; cause a wraparound and resize of the echo area.
456 (ea-width (1- (window-width (minibuffer-window))))
457 (strip (- (+ (length name) (length ": ") (length doc)) ea-width)))
458 (cond ((or (<= strip 0)
459 (eq ea-multi t)
460 (and ea-multi (> (length doc) ea-width)))
461 (format "%s: %s" (propertize name 'face face) doc))
462 ((> (length doc) ea-width)
463 (substring (format "%s" doc) 0 ea-width))
464 ((>= strip (length name))
465 (format "%s" doc))
466 (t
467 ;; Show the end of the partial symbol name, rather
468 ;; than the beginning, since the former is more likely
469 ;; to be unique given package namespace conventions.
470 (setq name (substring name strip))
471 (format "%s: %s" (propertize name 'face face) doc))))))
472
473 \f
474 ;; Return a list of current function name and argument index.
475 (defun eldoc-fnsym-in-current-sexp ()
476 (save-excursion
477 (let ((argument-index (1- (eldoc-beginning-of-sexp))))
478 ;; If we are at the beginning of function name, this will be -1.
479 (when (< argument-index 0)
480 (setq argument-index 0))
481 ;; Don't do anything if current word is inside a string.
482 (if (= (or (char-after (1- (point))) 0) ?\")
483 nil
484 (list (eldoc-current-symbol) argument-index)))))
485
486 ;; Move to the beginning of current sexp. Return the number of nested
487 ;; sexp the point was over or after.
488 (defun eldoc-beginning-of-sexp ()
489 (let ((parse-sexp-ignore-comments t)
490 (num-skipped-sexps 0))
491 (condition-case _
492 (progn
493 ;; First account for the case the point is directly over a
494 ;; beginning of a nested sexp.
495 (condition-case _
496 (let ((p (point)))
497 (forward-sexp -1)
498 (forward-sexp 1)
499 (when (< (point) p)
500 (setq num-skipped-sexps 1)))
501 (error))
502 (while
503 (let ((p (point)))
504 (forward-sexp -1)
505 (when (< (point) p)
506 (setq num-skipped-sexps (1+ num-skipped-sexps))))))
507 (error))
508 num-skipped-sexps))
509
510 ;; returns nil unless current word is an interned symbol.
511 (defun eldoc-current-symbol ()
512 (let ((c (char-after (point))))
513 (and c
514 (memq (char-syntax c) '(?w ?_))
515 (intern-soft (current-word)))))
516
517 ;; Do indirect function resolution if possible.
518 (defun eldoc-symbol-function (fsym)
519 (let ((defn (and (fboundp fsym)
520 (symbol-function fsym))))
521 (and (symbolp defn)
522 (condition-case _
523 (setq defn (indirect-function fsym))
524 (error (setq defn nil))))
525 defn))
526
527 (defun eldoc-function-argstring (arglist)
528 "Return ARGLIST as a string enclosed by ().
529 ARGLIST is either a string, or a list of strings or symbols."
530 (cond ((stringp arglist))
531 ((not (listp arglist))
532 (setq arglist nil))
533 ((symbolp (car arglist))
534 (setq arglist
535 (mapconcat (lambda (s) (symbol-name s))
536 arglist " ")))
537 ((stringp (car arglist))
538 (setq arglist
539 (mapconcat (lambda (s) s)
540 arglist " "))))
541 (if arglist
542 (format "(%s)" arglist)))
543
544 (defun eldoc-function-argstring-format (argstring)
545 "Apply `eldoc-argument-case' to each word in ARGSTRING.
546 The words \"&rest\", \"&optional\" are returned unchanged."
547 (mapconcat (lambda (s)
548 (if (string-match-p "\\`(?&\\(?:optional\\|rest\\))?\\'" s)
549 s
550 (funcall eldoc-argument-case s)))
551 (split-string argstring) " "))
552
553 \f
554 ;; When point is in a sexp, the function args are not reprinted in the echo
555 ;; area after every possible interactive command because some of them print
556 ;; their own messages in the echo area; the eldoc functions would instantly
557 ;; overwrite them unless it is more restrained.
558 ;; These functions do display-command table management.
559
560 (defun eldoc-add-command (&rest cmds)
561 (dolist (name cmds)
562 (and (symbolp name)
563 (setq name (symbol-name name)))
564 (set (intern name eldoc-message-commands) t)))
565
566 (defun eldoc-add-command-completions (&rest names)
567 (dolist (name names)
568 (apply 'eldoc-add-command (all-completions name obarray 'commandp))))
569
570 (defun eldoc-remove-command (&rest cmds)
571 (dolist (name cmds)
572 (and (symbolp name)
573 (setq name (symbol-name name)))
574 (unintern name eldoc-message-commands)))
575
576 (defun eldoc-remove-command-completions (&rest names)
577 (dolist (name names)
578 (apply 'eldoc-remove-command
579 (all-completions name eldoc-message-commands))))
580
581 \f
582 ;; Prime the command list.
583 (eldoc-add-command-completions
584 "backward-" "beginning-of-" "delete-other-windows" "delete-window"
585 "down-list" "end-of-" "exchange-point-and-mark" "forward-" "goto-"
586 "handle-select-window" "indent-for-tab-command" "left-" "mark-page"
587 "mark-paragraph" "mouse-set-point" "move-" "move-beginning-of-"
588 "move-end-of-" "next-" "other-window" "pop-global-mark" "previous-"
589 "recenter" "right-" "scroll-" "self-insert-command" "split-window-"
590 "up-list")
591
592 (provide 'eldoc)
593
594 ;;; eldoc.el ends here