Function: eww-select-file
eww-select-file is an interactive and byte-compiled function defined
in eww.el.gz.
Signature
(eww-select-file)
Documentation
Change the value of the upload file menu under point.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/net/eww.el.gz
(defun eww-select-file ()
"Change the value of the upload file menu under point."
(interactive nil eww-mode)
(let* ((input (get-text-property (point) 'eww-form)))
(let ((filename
(let ((insert-default-directory t))
(read-file-name "filename: "))))
(eww-update-field filename (length "Browse"))
(plist-put input :filename filename))))