aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/completion.el
diff options
context:
space:
mode:
authorJuanma Barranquero2008-10-25 00:46:25 +0000
committerJuanma Barranquero2008-10-25 00:46:25 +0000
commitea6c930a8dd83a4e7d7a640c02e8a791458178c0 (patch)
tree4e9593e3fb14876a5de7c3e3e3ff6efb11c6a2f2 /lisp/completion.el
parentba28670836a63cf39032990e8a7f17147e9b3f30 (diff)
downloademacs-ea6c930a8dd83a4e7d7a640c02e8a791458178c0.tar.gz
emacs-ea6c930a8dd83a4e7d7a640c02e8a791458178c0.zip
* completion.el (add-completion-to-head, add-completion): Doc fixes.
(completion-search-next, add-completions-from-file): Fix typos in docstrings. * filesets.el (filesets-menu-ensure-use-cached) (filesets-ingroup-patterns, filesets-filetype-property): * tutorial.el (get-lang-string): * play/gamegrid.el (gamegrid-score-file-length, gamegrid-add-score): Fix typos in docstrings. * image-dired.el (image-dired-dired-after-readin-hook): Doc fix. (image-dired-line-up-method, image-dired-thumb-size) (image-dired-cmd-write-exif-data-options, image-dired-write-tags) (image-dired-track-original-file, image-dired-track-thumbnail) (image-dired-dired-next-line, image-dired-dired-previous-line) (image-dired-write-comments): Reflow docstrings. (image-dired-show-all-from-dir-max-files) (image-dired-format-properties-string, image-dired-create-thumbs) (image-dired-mark-tagged-files, image-dired-gallery-generate): Fix typos in docstrings. * savehist.el (savehist-save-minibuffer-history, savehist-file) (savehist-additional-variables, savehist-ignored-variables) (savehist-file-modes, savehist-autosave-interval): * startup.el (inhibit-startup-echo-area-message, inhibit-default-init) (inhibit-startup-buffer-menu, mail-host-address, user-mail-address) (fancy-splash-image): * thumbs.el (thumbs-thumbsdir, thumbs-geometry, thumbs-relief) (thumbs-conversion-program, thumbs-margin): Remove spurious * in docstrings.
Diffstat (limited to 'lisp/completion.el')
-rw-r--r--lisp/completion.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/completion.el b/lisp/completion.el
index 2f925dd2066..de18325a43b 100644
--- a/lisp/completion.el
+++ b/lisp/completion.el
@@ -1163,7 +1163,7 @@ Returns the completion entry."
1163(defun add-completion-to-head (completion-string) 1163(defun add-completion-to-head (completion-string)
1164 "If COMPLETION-STRING is not in the database, add it to prefix list. 1164 "If COMPLETION-STRING is not in the database, add it to prefix list.
1165We add COMPLETION-STRING to the head of the appropriate prefix list, 1165We add COMPLETION-STRING to the head of the appropriate prefix list,
1166or it to the head of the list. 1166or to the head of the list.
1167COMPLETION-STRING must be longer than `completion-prefix-min-length'. 1167COMPLETION-STRING must be longer than `completion-prefix-min-length'.
1168Updates the saved string with the supplied string. 1168Updates the saved string with the supplied string.
1169This must be very fast. 1169This must be very fast.
@@ -1307,8 +1307,8 @@ String must be longer than `completion-prefix-min-length'."
1307 1307
1308(defun add-completion (string &optional num-uses last-use-time) 1308(defun add-completion (string &optional num-uses last-use-time)
1309 "Add STRING to completion list, or move it to head of list. 1309 "Add STRING to completion list, or move it to head of list.
1310The completion is altered appropriately if num-uses and/or last-use-time is 1310The completion is altered appropriately if NUM-USES and/or LAST-USE-TIME
1311specified." 1311are specified."
1312 (interactive (interactive-completion-string-reader "Completion to add")) 1312 (interactive (interactive-completion-string-reader "Completion to add"))
1313 (check-completion-length string) 1313 (check-completion-length string)
1314 (let* ((current-completion-source (if (interactive-p) 1314 (let* ((current-completion-source (if (interactive-p)
@@ -1457,7 +1457,7 @@ STRING must be longer than `completion-prefix-min-length'."
1457(defun completion-search-next (index) 1457(defun completion-search-next (index)
1458 "Return the next completion entry. 1458 "Return the next completion entry.
1459If INDEX is out of sequence, reset and start from the top. 1459If INDEX is out of sequence, reset and start from the top.
1460If there are no more entries, try cdabbrev and returns only a string." 1460If there are no more entries, try cdabbrev and return only a string."
1461 (cond 1461 (cond
1462 ((= index (setq cmpl-last-index (1+ cmpl-last-index))) 1462 ((= index (setq cmpl-last-index (1+ cmpl-last-index)))
1463 (completion-search-peek t)) 1463 (completion-search-peek t))
@@ -1693,7 +1693,7 @@ Prefix args ::
1693 1693
1694;; User interface 1694;; User interface
1695(defun add-completions-from-file (file) 1695(defun add-completions-from-file (file)
1696 "Parse possible completions from a FILE and add them to data base." 1696 "Parse possible completions from a FILE and add them to database."
1697 (interactive "fFile: ") 1697 (interactive "fFile: ")
1698 (setq file (expand-file-name file)) 1698 (setq file (expand-file-name file))
1699 (let* ((buffer (get-file-buffer file)) 1699 (let* ((buffer (get-file-buffer file))