From d3111e5aa98ca874c2aaaad9047868707b7faa43 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 26 Apr 2001 07:40:14 +0000 Subject: [PATCH] (dabbrev--select-buffers): Add a doc string. --- lisp/ChangeLog | 4 ++++ lisp/dabbrev.el | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4cf74c06f78..2a5394adc7a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2001-04-26 Eli Zaretskii + + * dabbrev.el (dabbrev--select-buffers): Add a doc string. + 2001-04-25 Gerd Moellmann * faces.el (tty-handle-reverse-video): Don't set inverse-video. diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index a5a37c3d20f..62c3befa908 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -651,6 +651,11 @@ See also `dabbrev-abbrev-char-regexp' and \\[dabbrev-completion]." ;;; 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))) -- 2.39.2