/[emacs]/emacs/lisp/minibuf-eldef.el
ViewVC logotype

Diff of /emacs/lisp/minibuf-eldef.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by miles, Mon Sep 1 15:45:13 2003 UTC revision 1.6 by miles, Wed Jun 2 22:43:42 2004 UTC
# Line 1  Line 1 
1  ;;; minibuf-eldef.el --- Only show defaults in prompts when applicable  ;;; minibuf-eldef.el --- Only show defaults in prompts when applicable
2  ;;  ;;
3  ;; Copyright (C) 2000, 2001 Free Software Foundation, Inc.  ;; Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc.
4  ;;  ;;
5  ;; Author: Miles Bader <miles@gnu.org>  ;; Author: Miles Bader <miles@gnu.org>
6  ;; Keywords: convenience  ;; Keywords: convenience
# Line 36  Line 36 
36  ;;; Code:  ;;; Code:
37    
38  (defvar minibuffer-default-in-prompt-regexps  (defvar minibuffer-default-in-prompt-regexps
39    '(("\\( (default\\>.*)\\):? \\'" . 1))    '(("\\( (default\\>.*)\\):? \\'" . 1) ("\\( \\[.*\\]\\):? *\\'" . 1))
40    "*A list of regexps matching the parts of minibuffer prompts showing defaults.    "*A list of regexps matching the parts of minibuffer prompts showing defaults.
41  When `minibuffer-electric-default-mode' is active, these regexps are  When `minibuffer-electric-default-mode' is active, these regexps are
42  used to identify the portions of prompts to elide.  used to identify the portions of prompts to elide.
# Line 157  Returns non-nil if the new state is enab Line 157  Returns non-nil if the new state is enab
157    
158  (provide 'minibuf-eldef)  (provide 'minibuf-eldef)
159    
160  ;;; arch-tag: 7e421fae-c275-4729-b0da-7836af377d3d  ;; arch-tag: 7e421fae-c275-4729-b0da-7836af377d3d
161  ;;; minibuf-eldef.el ends here  ;;; minibuf-eldef.el ends here

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26