From ea9a35630ab737fac2f56b43d38b47e186f82379 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 1 Oct 2012 04:45:25 +0200 Subject: [PATCH] *** empty log message *** --- lisp/ChangeLog | 5 +++++ lisp/ido.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.2