# HG changeset patch # User Richard M. Stallman # Date 788232928 0 # Node ID ace1fffa8d96e82ab038f276a4d9d68a47031896 # Parent e88ff4b30786a3cce87a9ba67fb5f026140516b4 (dabbrev-completion): Now searches all buffers when given prefix arg 16. (dabbrev--version): Variable deleted. diff -r e88ff4b30786 -r ace1fffa8d96 lisp/dabbrev.el --- a/lisp/dabbrev.el Sat Dec 24 01:30:55 1994 +0000 +++ b/lisp/dabbrev.el Sat Dec 24 01:35:28 1994 +0000 @@ -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 @@ 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)