(cond
((featurep 'ange-ftp)
(ange-ftp-set-passwd host user pass))
- ((when (featurep 'xemacs)
- (or (featurep 'efs) (featurep 'efs-auto)
- (efs-set-passwd host user pass))))
(t
nil)))
(list #'url-file-asynch-callback
new (current-buffer)
callback cbargs)
- t)
- (when (featurep 'xemacs)
- (autoload 'efs-copy-file-internal "efs")
- (efs-copy-file-internal filename (efs-ftp-path filename)
- new (efs-ftp-path new)
- t nil 0
- (list #'url-file-asynch-callback
- new (current-buffer)
- callback cbargs)
- 0 nil)))))))
+ t))))))
buffer))
(defmacro url-file-create-wrapper (method args)
(require 'url-vars)
(defun url-device-type (&optional device)
- (if (fboundp 'device-type)
- (device-type device) ; XEmacs
- (or window-system 'tty)))
+ (declare (obsolete nil "27.1"))
+ (or window-system 'tty))
;;;###autoload
(defun url-setup-privacy-info ()
;; combinations
((eq system-type 'windows-nt) "Windows-NT; 32bit")
((eq system-type 'ms-dos) "MS-DOS; 32bit")
- ((memq (url-device-type) '(win32 w32)) "Windows; 32bit")
+ ((memq (or window-system 'tty) '(win32 w32)) "Windows; 32bit")
(t
- (pcase (url-device-type)
+ (pcase (or window-system 'tty)
('x "X11")
('ns "OpenStep")
('tty "TTY")