diff options
author | Miles Bader <miles@gnu.org> | 2004-06-02 22:43:42 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2004-06-02 22:43:42 +0000 |
commit | 2bb680b0aad6791a449ef8f07d5c1d5c1e8b39c4 (patch) | |
tree | a3bb2ad1e02cd2a27e83acea1a6a2c17aa913c12 /lisp/minibuf-eldef.el | |
parent | 0bdd7ae4f9b0b27373b58865b9d0a747f7758071 (diff) | |
download | emacs-2bb680b0aad6791a449ef8f07d5c1d5c1e8b39c4.tar.gz |
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-362
Support " [...]" style defaults in minibuffer-electric-default-mode
2004-06-03 Miles Bader <miles@gnu.org>
* lisp/minibuf-eldef.el (minibuffer-default-in-prompt-regexps): Add
regexp for " [...]" style defaults.
Diffstat (limited to 'lisp/minibuf-eldef.el')
-rw-r--r-- | lisp/minibuf-eldef.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/minibuf-eldef.el b/lisp/minibuf-eldef.el index 10bf38f945f..908b77aab33 100644 --- a/lisp/minibuf-eldef.el +++ b/lisp/minibuf-eldef.el @@ -1,6 +1,6 @@ ;;; minibuf-eldef.el --- Only show defaults in prompts when applicable ;; -;; Copyright (C) 2000, 2001 Free Software Foundation, Inc. +;; Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc. ;; ;; Author: Miles Bader <miles@gnu.org> ;; Keywords: convenience @@ -36,7 +36,7 @@ ;;; Code: (defvar minibuffer-default-in-prompt-regexps - '(("\\( (default\\>.*)\\):? \\'" . 1)) + '(("\\( (default\\>.*)\\):? \\'" . 1) ("\\( \\[.*\\]\\):? *\\'" . 1)) "*A list of regexps matching the parts of minibuffer prompts showing defaults. When `minibuffer-electric-default-mode' is active, these regexps are used to identify the portions of prompts to elide. @@ -157,5 +157,5 @@ Returns non-nil if the new state is enabled." (provide 'minibuf-eldef) -;;; arch-tag: 7e421fae-c275-4729-b0da-7836af377d3d +;; arch-tag: 7e421fae-c275-4729-b0da-7836af377d3d ;;; minibuf-eldef.el ends here |