]> git.eshelyaron.com Git - emacs.git/commitdiff
Rename ido-max-prompt-width to ido-max-file-prompt-width for consistency.
authorKim F. Storm <storm@cua.dk>
Mon, 13 Jan 2003 23:05:51 +0000 (23:05 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 13 Jan 2003 23:05:51 +0000 (23:05 +0000)
lisp/ChangeLog
lisp/ido.el

index e455fa117fa691a04944e98a4bb15a1f7dbe2713..4eb73aa7c59abddf0376ae0ba245242810f70e0d 100644 (file)
@@ -1,7 +1,7 @@
 2003-01-14  Kim F. Storm  <storm@cua.dk>
 
        * ido.el (ido-ignore-directories-merge): Doc fix.
-       (ido-max-prompt-width): Renamed from ido-max-prompt-path.
+       (ido-max-file-prompt-width): Renamed from ido-max-prompt-path.
        (ido-enable-last-directory-history): Doc fix.
        (ido-work-directory-list-ignore-regexps): Doc fix.
        (ido-enable-tramp-completion): Doc fix.
index 82b9485de33d043278fe876ff57ca030a3811257..76f7fa01a73d09885daa657e67130e869815bdb8 100644 (file)
@@ -511,7 +511,7 @@ non-negletable amount of time; setting this variable reduces that time."
   :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 @@ This function also adds a hook to the minibuffer."
   (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)