Function: eww-check-text-conversion
eww-check-text-conversion is a byte-compiled function defined in
eww.el.gz.
Signature
(eww-check-text-conversion)
Documentation
Check if point is within a field and toggle text conversion.
Set text-conversion-style to the value action if it isn't
already and point is within the prompt field, or if
text-conversion-style is nil, so as to guarantee that
the input method functions properly for the purpose of typing
within text input fields.
Source Code
;; Defined in /usr/src/emacs/lisp/net/eww.el.gz
(defun eww-check-text-conversion ()
"Check if point is within a field and toggle text conversion.
Set `text-conversion-style' to the value `action' if it isn't
already and point is within the prompt field, or if
`text-conversion-style' is nil, so as to guarantee that
the input method functions properly for the purpose of typing
within text input fields."
(when (and (eq major-mode 'eww-mode)
(fboundp 'set-text-conversion-style))
(if (eq (car-safe (get-text-property (point) 'field))
:eww-form)
(unless (eq text-conversion-style 'action)
(set-text-conversion-style 'action))
(unless (not text-conversion-style)
(set-text-conversion-style nil)))))