# HG changeset patch # User Eli Zaretskii # Date 988270692 0 # Node ID ed8e6a4af6efb1a4ec8fe498573690eb1d2cc134 # Parent d7bf0f33e4022ae9f5f9681ab303677d83a78a80 (dabbrev--select-buffers): Add a doc string. diff -r d7bf0f33e402 -r ed8e6a4af6ef lisp/dabbrev.el --- a/lisp/dabbrev.el Thu Apr 26 00:31:11 2001 +0000 +++ b/lisp/dabbrev.el Thu Apr 26 07:38:12 2001 +0000 @@ -651,6 +651,11 @@ ;;; Find all buffers that are considered "friends" according to the ;;; function pointed out by dabbrev-friend-buffer-function. (defun dabbrev--select-buffers () + "Return a list of all buffers that should be searched for a possible abbrev. + +This function makes a list of all the buffers returned by `buffer-list', and +then filters out every buffer for which `dabbrev-friend-buffer-function', +if it is bound, returns nil. The resulting partial list is returned." (save-excursion (and (window-minibuffer-p (selected-window)) (set-buffer (dabbrev--minibuffer-origin)))