changeset 10232:ace1fffa8d96

(dabbrev-completion): Now searches all buffers when given prefix arg 16. (dabbrev--version): Variable deleted.
author Richard M. Stallman <rms@gnu.org>
date Sat, 24 Dec 1994 01:35:28 +0000
parents e88ff4b30786
children 100a10bb4d47
files lisp/dabbrev.el
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 <Lars.Lindberg@sypro.cap.se>
 ;; 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)