From: Juanma Barranquero Date: Mon, 1 Oct 2012 02:45:25 +0000 (+0200) Subject: *** empty log message *** X-Git-Tag: emacs-24.2.90~241^2~13^2~8 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ea9a35630ab737fac2f56b43d38b47e186f82379;p=emacs.git *** empty log message *** --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b82a6e2e580..37985d5ee38 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-10-01 Juanma Barranquero + + * ido.el (ido-directory-too-big-p): Pass dir through file-truename + to get the correct size across symlinks. + 2012-09-30 Juanma Barranquero * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring. diff --git a/lisp/ido.el b/lisp/ido.el index 4de4618ef46..70245800121 100644 --- a/lisp/ido.el +++ b/lisp/ido.el @@ -1720,7 +1720,7 @@ This function also adds a hook to the minibuffer." (ido-final-slash dir) (not (ido-is-unc-host dir)) (file-directory-p dir) - (> (nth 7 (file-attributes dir)) ido-max-directory-size)))) + (> (nth 7 (file-attributes (file-truename dir))) ido-max-directory-size)))) (defun ido-set-current-directory (dir &optional subdir no-merge) ;; Set ido's current directory to DIR or DIR/SUBDIR