X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/73b0cd50031a714347109169ceb8bacae338612a..147c0425024ce9c1dbb7301300867d8563a6730a:/lisp/find-file.el diff --git a/lisp/find-file.el b/lisp/find-file.el index 7ace6ce01d..19fa8283b0 100644 --- a/lisp/find-file.el +++ b/lisp/find-file.el @@ -4,7 +4,7 @@ ;; Maintainer: FSF ;; Keywords: c, matching, tools -;; Copyright (C) 1994-1995, 2001-2011 Free Software Foundation, Inc. +;; Copyright (C) 1994-1995, 2001-2012 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. @@ -183,7 +183,7 @@ To override this, give an argument to `ff-find-other-file'." ;;;###autoload (defvar ff-special-constructs `( - ;; C/C++ include, for NeXTSTEP too + ;; C/C++ include, for NeXTstep too (,(purecopy "^\#\\s *\\(include\\|import\\)\\s +[<\"]\\(.*\\)[>\"]") . (lambda () (buffer-substring (match-beginning 2) (match-end 2)))) @@ -494,7 +494,7 @@ If optional IN-OTHER-WINDOW is non-nil, find the file in another window." (setq name (expand-file-name - (read-file-name + (read-directory-name (format "Find or create %s in: " default-name) default-directory default-name nil)))