+2008-04-21 Juanma Barranquero <lekktu@gmail.com>
+
+ * minibuffer.el (completion-setup-hook, display-completion-list)
+ (completion--file-name-table): Fix typos in docstrings.
+ (completion-table-dynamic): Fix typo, and reflow docstring.
+
2008-04-20 Andreas Schwab <schwab@suse.de>
* server.el (server-switch-buffer): Also consider clients in the
2008-04-19 Nick Roberts <nickrob@snap.net.nz>
- * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Select
- window clicked on first (regression in 22.2).
+ * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
+ Select window clicked on first (regression in 22.2).
(gdb): Display thread number in mode-line.
(gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
(gdb-breakpoints-header): New variable.
(solar-get-number): Move definition before use. Use unless.
(solar-equatorial-coordinates): Simplify.
(solar-sunrise-and-sunset): Use let rather than let*.
- (solar-longitude, solar-equinoxes-solstices): Use cadr, nth
+ (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
* startup.el (command-line-1): Rename -internal-script back to
-scriptload (reverts previous change).
(org-goto-map, org-get-location): Implement auto-isearch.
(org-goto-local-auto-isearch-map): New variable.
(org-goto-local-search-forward-headings)
- (org-goto-local-auto-isearch): New functions
+ (org-goto-local-auto-isearch): New functions.
2008-03-13 Philip Jackson <emacs@shellarchive.co.uk>
(defun completion-table-dynamic (fun)
"Use function FUN as a dynamic completion table.
FUN is called with one argument, the string for which completion is required,
-and it should return an alist containing all the intended possible
-completions. This alist may be a full list of possible completions so that FUN
-can ignore the value of its argument. If completion is performed in the
-minibuffer, FUN will be called in the buffer from which the minibuffer was
-entered.
+and it should return an alist containing all the intended possible completions.
+This alist may be a full list of possible completions so that FUN can ignore
+the value of its argument. If completion is performed in the minibuffer,
+FUN will be called in the buffer from which the minibuffer was entered.
The result of the `dynamic-completion-table' form is a function
that can be used as the ALIST argument to `try-completion' and
-`all-completion'. See Info node `(elisp)Programmed Completion'."
+`all-completions'. See Info node `(elisp)Programmed Completion'."
(lexical-let ((fun fun))
(lambda (string pred action)
(with-current-buffer (let ((win (minibuffer-selected-window)))
When this hook is run, the current buffer is the one in which the
command to display the completion list buffer was run.
The completion list buffer is available as the value of `standard-output'.
-The common prefix substring for completion may be available as the
-value of `completion-common-substring'. See also `display-completion-list'.")
+The common prefix substring for completion may be available as the value
+of `completion-common-substring'. See also `display-completion-list'.")
(defun display-completion-list (completions &optional common-substring)
"Display the list of completions, COMPLETIONS, using `standard-output'.
It can find the completion buffer in `standard-output'.
The optional second arg COMMON-SUBSTRING is a string.
It is used to put faces, `completions-first-difference' and
-`completions-common-part' on the completion buffer. The
+`completions-common-part' on the completion buffer. The
`completions-common-part' face is put on the common substring
specified by COMMON-SUBSTRING. If COMMON-SUBSTRING is nil
and the current buffer is not the minibuffer, the faces are not put.
pred action))))
(defun completion--file-name-table (string dir action)
- "Internal subroutine for read-file-name. Do not call this."
+ "Internal subroutine for `read-file-name'. Do not call this."
(setq dir (expand-file-name dir))
(if (and (zerop (length string)) (eq 'lambda action))
nil ; FIXME: why?