# HG changeset patch # User Richard M. Stallman # Date 901067484 0 # Node ID 2311a799a9811d849b647bd24aa2b26f4d806359 # Parent 903554be7bfcfbbda60e460b9e657ead11d2842a (ange-ftp-reread-dir): Renamed from `re-read'. Old name defined as alias. Doc fix. diff -r 903554be7bfc -r 2311a799a981 lisp/ange-ftp.el --- a/lisp/ange-ftp.el Tue Jul 21 04:00:21 1998 +0000 +++ b/lisp/ange-ftp.el Wed Jul 22 00:31:24 1998 +0000 @@ -3853,9 +3853,15 @@ ;;(define-key minibuffer-local-completion-map "\C-r" 'ange-ftp-re-read-dir) ;;(define-key minibuffer-local-must-match-map "\C-r" 'ange-ftp-re-read-dir) -;; Force a re-read of the directory DIR. If DIR is omitted then it defaults -;; to the directory part of the contents of the current buffer. -(defun ange-ftp-re-read-dir (&optional dir) +;; The autoload cookie is to make sure the doc is always available. +;;;###autoload (defalias 'ange-ftp-re-read-dir ange-ftp-reread-dir) +;;;###autoload +(defun ange-ftp-reread-dir (&optional dir) + "Reread remote directory DIR to update the directory cache. +The implementation of remote ftp file names caches directory contents +for speed. Therefore, when new remote files are created, Emacs +may not know they exist. You can use this command to reread a specific +directory, so that Emacs will know its current contents." (interactive) (if dir (setq dir (expand-file-name dir))