# HG changeset patch # User Kim F. Storm # Date 1042499113 0 # Node ID 93a6625a2ef36b57a4d8c760cfd0a3218ae17632 # Parent 6f4f15ee691024bd5fd9a17dabb1e57f8e88bbc8 Rename ido-max-prompt-width to ido-max-file-prompt-width for consistency. diff -r 6f4f15ee6910 -r 93a6625a2ef3 lisp/ido.el --- a/lisp/ido.el Mon Jan 13 23:03:30 2003 +0000 +++ b/lisp/ido.el Mon Jan 13 23:05:13 2003 +0000 @@ -511,7 +511,7 @@ :type 'integer :group 'ido) -(defcustom ido-max-prompt-width 0.35 +(defcustom ido-max-file-prompt-width 0.35 "*Non-zero means that the prompt string be limited to than number of characters. If value is a floating point number, it specifies a fraction of the frame width." :type '(choice @@ -1395,9 +1395,9 @@ (cond ((and (memq item '(file dir)) ido-current-directory) (let ((dirname (abbreviate-file-name ido-current-directory)) - (max-width (if (and ido-max-prompt-width (floatp ido-max-prompt-width)) - (floor (* (frame-width) ido-max-prompt-width)) - ido-max-prompt-width)) + (max-width (if (and ido-max-file-prompt-width (floatp ido-max-file-prompt-width)) + (floor (* (frame-width) ido-max-file-prompt-width)) + ido-max-file-prompt-width)) (literal (and (boundp 'ido-find-literal) ido-find-literal "(literal) ")) (vc-off (and ido-saved-vc-mt (not vc-master-templates) "[-VC] ")) (prefix nil)