changeset 37487:ed8e6a4af6ef

(dabbrev--select-buffers): Add a doc string.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 26 Apr 2001 07:38:12 +0000
parents d7bf0f33e402
children a795d663002c
files lisp/dabbrev.el
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)))