comparison lisp/emacs-lisp/eldoc.el @ 78898:150f6e38877a

(eldoc-message-commands-table-size, eldoc-message-commands, eldoc-current-idle-delay): Fix typos in docstrings.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 27 Sep 2007 21:37:47 +0000
parents 935157c0b596
children 78ee6fae0e41
comparison
equal deleted inserted replaced
78897:9aa24f503773 78898:150f6e38877a
102 :group 'eldoc) 102 :group 'eldoc)
103 103
104 ;;; No user options below here. 104 ;;; No user options below here.
105 105
106 (defvar eldoc-message-commands-table-size 31 106 (defvar eldoc-message-commands-table-size 31
107 "This is used by eldoc-add-command to initialize eldoc-message-commands 107 "This is used by `eldoc-add-command' to initialize `eldoc-message-commands'
108 as an obarray. 108 as an obarray.
109 It should probably never be necessary to do so, but if you 109 It should probably never be necessary to do so, but if you
110 choose to increase the number of buckets, you must do so before loading 110 choose to increase the number of buckets, you must do so before loading
111 this file since the obarray is initialized at load time. 111 this file since the obarray is initialized at load time.
112 Remember to keep it a prime number to improve hash performance.") 112 Remember to keep it a prime number to improve hash performance.")
114 (defconst eldoc-message-commands 114 (defconst eldoc-message-commands
115 (make-vector eldoc-message-commands-table-size 0) 115 (make-vector eldoc-message-commands-table-size 0)
116 "Commands after which it is appropriate to print in the echo area. 116 "Commands after which it is appropriate to print in the echo area.
117 Eldoc does not try to print function arglists, etc. after just any command, 117 Eldoc does not try to print function arglists, etc. after just any command,
118 because some commands print their own messages in the echo area and these 118 because some commands print their own messages in the echo area and these
119 functions would instantly overwrite them. But self-insert-command as well 119 functions would instantly overwrite them. But `self-insert-command' as well
120 as most motion commands are good candidates. 120 as most motion commands are good candidates.
121 This variable contains an obarray of symbols; do not manipulate it 121 This variable contains an obarray of symbols; do not manipulate it
122 directly. Instead, use `eldoc-add-command' and `eldoc-remove-command'.") 122 directly. Instead, use `eldoc-add-command' and `eldoc-remove-command'.")
123 123
124 (defconst eldoc-last-data (make-vector 3 nil) 124 (defconst eldoc-last-data (make-vector 3 nil)
130 (defvar eldoc-last-message nil) 130 (defvar eldoc-last-message nil)
131 131
132 (defvar eldoc-timer nil "eldoc's timer object.") 132 (defvar eldoc-timer nil "eldoc's timer object.")
133 133
134 (defvar eldoc-current-idle-delay eldoc-idle-delay 134 (defvar eldoc-current-idle-delay eldoc-idle-delay
135 "idle time delay currently in use by timer. 135 "Idle time delay currently in use by timer.
136 This is used to determine if `eldoc-idle-delay' is changed by the user.") 136 This is used to determine if `eldoc-idle-delay' is changed by the user.")
137 137
138 138
139 ;;;###autoload 139 ;;;###autoload
140 (define-minor-mode eldoc-mode 140 (define-minor-mode eldoc-mode