From: Richard M. Stallman Date: Sat, 24 Dec 1994 01:35:28 +0000 (+0000) Subject: (dabbrev-completion): Now searches all buffers when given prefix arg 16. X-Git-Tag: emacs-19.34~5624 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dd1ae35538db74e01b7f32b61a22e7c4ec271387;p=emacs.git (dabbrev-completion): Now searches all buffers when given prefix arg 16. (dabbrev--version): Variable deleted. --- diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index f9df40e211b..486496a9a48 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -4,8 +4,7 @@ ;; Author: Don Morrison ;; Maintainer: Lars Lindberg ;; Created: 16 Mars 1992 -;; Version: 4.4.2 beta -(defun dabbrev--version () "4.4.2 beta") +;; Lindberg's last update version: 5.2 ;; Keywords: abbrev expand completion ;; This program is free software; you can redistribute it and/or modify @@ -309,13 +308,18 @@ and presents suggestions for completion. With a prefix argument, it searches all buffers accepted by the function pointed out by `dabbrev-friend-buffer-function' to find the -completions. \(The argument value does not matter.) +completions. + +If the prefix argument is 16 (which comes from C-u C-u), +then it searches *all* buffers. With no prefix argument, it reuses an old completion list if there is a suitable one already." (interactive "*P") (let* ((dabbrev-always-check-other-buffers (and arg t)) + (dabbrev-check-rest-of-buffers + (and arg (= (prefix-numeric-value arg) 16))) (abbrev (dabbrev--abbrev-at-point)) (ignore-case-p (and (eval dabbrev-case-fold-search) (or (not dabbrev-upcase-means-case-search)