From: Miles Bader Date: Wed, 2 Jun 2004 22:43:42 +0000 (+0000) Subject: Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-362 X-Git-Tag: ttn-vms-21-2-B4~5956 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2bb680b0aad6791a449ef8f07d5c1d5c1e8b39c4;p=emacs.git 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 * lisp/minibuf-eldef.el (minibuffer-default-in-prompt-regexps): Add regexp for " [...]" style defaults. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 845d0c9f1d4..72441a20147 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2004-06-03 Miles Bader + + * minibuf-eldef.el (minibuffer-default-in-prompt-regexps): Add + regexp for " [...]" style defaults. + 2004-06-02 Romain Francoise * ibuf-ext.el (ibuffer-jump-to-buffer): Add support for filter 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 ;; 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