]> git.eshelyaron.com Git - emacs.git/commitdiff
Require dired.
authorLuc Teirlinck <teirllm@auburn.edu>
Wed, 9 Nov 2005 23:04:46 +0000 (23:04 +0000)
committerLuc Teirlinck <teirllm@auburn.edu>
Wed, 9 Nov 2005 23:04:46 +0000 (23:04 +0000)
(find-lisp-find-dired-internal): Do not call `abbreviate-file-name' on DIR.

lisp/find-lisp.el

index 59dac2f62d6d5a406404f29e80f0f19730467b95..a7c4e3941d93677ca858fa60b1be470252f9ebd4 100644 (file)
@@ -3,7 +3,7 @@
 ;; Author: Peter Breton
 ;; Created: Fri Mar 26 1999
 ;; Keywords: unix
-;; Time-stamp: <2001-07-16 12:42:35 pavel>
+;; Time-stamp: <2005-11-09 17:05:07 teirllm>
 
 ;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
 ;;   2005 Free Software Foundation, Inc.
@@ -46,6 +46,8 @@
 
 ;;; Code:
 
+(require 'dired)
+
 (defvar dired-buffers)
 (defvar dired-subdir-alist)
 
@@ -198,8 +200,7 @@ It is a function which takes two arguments, the directory and its parent."
        (regexp find-lisp-regexp))
     ;; Expand DIR ("" means default-directory), and make sure it has a
     ;; trailing slash.
-    (setq dir (abbreviate-file-name
-              (file-name-as-directory (expand-file-name dir))))
+    (setq dir (file-name-as-directory (expand-file-name dir)))
     ;; Check that it's really a directory.
     (or (file-directory-p dir)
        (error "find-dired needs a directory: %s" dir))