diff lisp/files.el @ 526:a5ee2ca8672c

[xemacs-hg @ 2001-05-09 17:18:32 by ben] fix byte-compilation warnings.
author ben
date Wed, 09 May 2001 17:18:32 +0000
parents 7039e6323819
children ff0d9e7facba
line wrap: on
line diff
--- a/lisp/files.el	Wed May 09 14:31:56 2001 +0000
+++ b/lisp/files.el	Wed May 09 17:18:32 2001 +0000
@@ -920,9 +920,10 @@
   (setq filename (abbreviate-file-name (expand-file-name filename)))
   (if (file-directory-p filename)
       (if (and (fboundp 'dired-noselect) find-file-run-dired)
-	  (dired-noselect (if find-file-use-truenames
-			      (abbreviate-file-name (file-truename filename))
-			    filename))
+	  (declare-fboundp
+	   (dired-noselect (if find-file-use-truenames
+			       (abbreviate-file-name (file-truename filename))
+			     filename)))
 	(error "%s is a directory" filename))
     (let* ((buf (get-file-buffer filename))
 	   (truename (abbreviate-file-name (file-truename filename)))
@@ -2883,14 +2884,14 @@
 \\[recover-session]."
   (interactive)
   ;; Get the name of the session file to recover from.
-  (let ((file (dired-get-filename))
+  (let ((file (declare-fboundp (dired-get-filename)))
 	files
 	(buffer (get-buffer-create " *recover*")))
     ;; #### dired-do-flagged-delete in FSF.
     ;; This version is for ange-ftp
     ;;(dired-do-deletions t)
     ;; This version is for efs
-    (dired-expunge-deletions)
+    (declare-fboundp (dired-expunge-deletions))
     (unwind-protect
 	(save-excursion
 	  ;; Read in the auto-save-list file.