aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii2001-04-26 07:40:14 +0000
committerEli Zaretskii2001-04-26 07:40:14 +0000
commitd3111e5aa98ca874c2aaaad9047868707b7faa43 (patch)
tree8af403cfe3dd0cdb021888daabdfaf364a548288 /lisp
parentc46cabfaf959e57c226701e2cd025b7439df2a8f (diff)
downloademacs-d3111e5aa98ca874c2aaaad9047868707b7faa43.tar.gz
emacs-d3111e5aa98ca874c2aaaad9047868707b7faa43.zip
(dabbrev--select-buffers): Add a doc string.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/dabbrev.el5
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4cf74c06f78..2a5394adc7a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12001-04-26 Eli Zaretskii <eliz@is.elta.co.il>
2
3 * dabbrev.el (dabbrev--select-buffers): Add a doc string.
4
12001-04-25 Gerd Moellmann <gerd@gnu.org> 52001-04-25 Gerd Moellmann <gerd@gnu.org>
2 6
3 * faces.el (tty-handle-reverse-video): Don't set inverse-video. 7 * 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]."
651;;; Find all buffers that are considered "friends" according to the 651;;; Find all buffers that are considered "friends" according to the
652;;; function pointed out by dabbrev-friend-buffer-function. 652;;; function pointed out by dabbrev-friend-buffer-function.
653(defun dabbrev--select-buffers () 653(defun dabbrev--select-buffers ()
654 "Return a list of all buffers that should be searched for a possible abbrev.
655
656This function makes a list of all the buffers returned by `buffer-list', and
657then filters out every buffer for which `dabbrev-friend-buffer-function',
658if it is bound, returns nil. The resulting partial list is returned."
654 (save-excursion 659 (save-excursion
655 (and (window-minibuffer-p (selected-window)) 660 (and (window-minibuffer-p (selected-window))
656 (set-buffer (dabbrev--minibuffer-origin))) 661 (set-buffer (dabbrev--minibuffer-origin)))