diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-11-07 19:34:51 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-11-07 19:34:51 +0200 |
commit | 4f478ca04be6d9b87b25e0a16a6beef300504fb1 (patch) | |
tree | 2b3455b6dacafbe6998c676c2e006d92041e7652 /lisp | |
parent | 7272e5db22ab157389fcaa8a187b78e883c1f4c2 (diff) | |
download | emacs-4f478ca04be6d9b87b25e0a16a6beef300504fb1.tar.gz |
Improve documentation of dabbrevs
* lisp/dabbrev.el (dabbrev-expand): Doc fix. (Bug#24890)
* doc/emacs/abbrevs.texi (Dynamic Abbrevs): Mention
'dabbrev-check-all-buffers', 'dabbrev-check-other-buffers', and
'dabbrev-ignored-buffer-names' and their purpose. (Bug#24890)
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/dabbrev.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index d9f36b15290..438eda3776d 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -433,7 +433,10 @@ Expands to the most recent, preceding word for which this is a prefix. If no suitable preceding word is found, words following point are considered. If still no suitable word is found, then look in the buffers accepted by the function pointed out by variable -`dabbrev-friend-buffer-function'. +`dabbrev-friend-buffer-function', if `dabbrev-check-other-buffers' +says so. Then, if `dabbrev-check-all-buffers' is non-nil, look in +all the other buffers, subject to constraints specified +by `dabbrev-ignored-buffer-names' and `dabbrev-ignored-regexps'. A positive prefix argument, N, says to take the Nth backward *distinct* possibility. A negative argument says search forward. |