X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/c566235d981eba73c88bbff00b6a1d88360b6e9f..acaf905b1130aae80fa59d2c861ffd4c8eb75486:/lisp/dabbrev.el diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index 1127181dca..7b94b53e6c 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -1,7 +1,6 @@ ;;; dabbrev.el --- dynamic abbreviation package -;; Copyright (C) 1985, 1986, 1992, 1994, 1996, 1997, 2000, 2001, 2002, -;; 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 +;; Copyright (C) 1985-1986, 1992, 1994, 1996-1997, 2000-2012 ;; Free Software Foundation, Inc. ;; Author: Don Morrison @@ -207,7 +206,8 @@ starting with or containing `no-'. If you set this variable to expanding `yes-or-no-' signals an error because `-' is not part of a word; but expanding `yes-or-no' looks for a word starting with `no'. -The recommended value is \"\\\\sw\\\\|\\\\s_\"." +The recommended value is nil, which will make dabbrev default to +using \"\\\\sw\\\\|\\\\s_\"." :type '(choice (const nil) regexp) :group 'dabbrev) @@ -392,8 +392,7 @@ then it searches *all* buffers." dabbrev-case-fold-search) (or (not dabbrev-upcase-means-case-search) (string= abbrev (downcase abbrev))))) - (my-obarray dabbrev--last-obarray) - init) + (my-obarray dabbrev--last-obarray)) (save-excursion ;;-------------------------------- ;; New abbreviation to expand. @@ -995,5 +994,4 @@ Leaves point at the location of the start of the expansion." (provide 'dabbrev) -;; arch-tag: 29e58596-f080-4306-a409-70296cf9d46f ;;; dabbrev.el ends here