]> git.eshelyaron.com Git - emacs.git/commitdiff
(top-level): Don't require dired when compiling.
authorGlenn Morris <rgm@gnu.org>
Sat, 31 Oct 2009 02:19:41 +0000 (02:19 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 31 Oct 2009 02:19:41 +0000 (02:19 +0000)
(comint-last-output-start, comint-last-input-start)
(comint-last-input-end): Don't defvar when compiling.
(ange-ftp-process-file): Use bound-and-true-p.

lisp/ChangeLog
lisp/net/ange-ftp.el

index a3183fb08b8352560b63cb47f7a92400db02a963..8cf34e1bdc7ddc8b626f9077a9e5372f93de652c 100644 (file)
@@ -1,5 +1,10 @@
 2009-10-31  Glenn Morris  <rgm@gnu.org>
 
+       * net/ange-ftp.el (top-level): Don't require dired when compiling.
+       (comint-last-output-start, comint-last-input-start)
+       (comint-last-input-end): Don't defvar when compiling.
+       (ange-ftp-process-file): Use bound-and-true-p.
+
        * pcmpl-rpm.el (top-level): Move provide statement to end.
        (pcmpl-rpm): Remove unused custom group.
 
index 38b1646f452a31da93e8b3e56e80e0f6edb43c54..7eb01d7c4102f3800ddfaa3a4390fc62775c17c9 100644 (file)
 ;;; Code:
 
 (require 'comint)
-;; Silence compiler:
-(eval-when-compile
-  (require 'dired)
-  (defvar comint-last-output-start nil)
-  (defvar comint-last-input-start nil)
-  (defvar comint-last-input-end nil))
 
 ;;;; ------------------------------------------------------------
 ;;;; User customization variables.
@@ -4580,7 +4574,8 @@ NEWNAME should be the name to give the new compressed or uncompressed file.")
       ;; Can't use ange-ftp-dired-host-type here because the current
       ;; buffer is *dired-check-process output*
       (condition-case oops
-         (cond ((equal dired-chmod-program program)
+         (cond ((equal (or (bound-and-true-p dired-chmod-program) "chmod")
+                       program)
                 (ange-ftp-call-chmod arguments))
                ;; ((equal "chgrp" program))
                ;; ((equal dired-chown-program program))