* lisp/dired.el (dired-chmod-program): Make into a defvar and make
obsolete (bug#50190).
* lisp/net/ange-ftp.el (ange-ftp-process-file): Remove usage of
dired-chmod-program.
(const :tag "Do not use --dired" nil)
(other :tag "Always use --dired" t)))
-(defcustom dired-chmod-program "chmod"
- "Name of chmod command (usually `chmod')."
- :group 'dired
- :type 'file)
+(defvar dired-chmod-program "chmod"
+ "Name of chmod command (usually `chmod').")
+(make-obsolete-variable 'dired-chmod-program nil "28.1")
(defcustom dired-touch-program "touch"
"Name of touch command (usually `touch')."
;; Can't use ange-ftp-dired-host-type here because the current
;; buffer is *dired-check-process output*
(condition-case oops
- (cond ((equal (or (bound-and-true-p dired-chmod-program) "chmod")
- program)
+ (cond ((equal "chmod" program)
(ange-ftp-call-chmod arguments))
;; ((equal "chgrp" program))
;; ((equal dired-chown-program program))