Variable: xwidget-webkit-mode-hook

xwidget-webkit-mode-hook is a variable defined in xwidget.el.gz.

Value

nil

Documentation

Hook run after entering xwidget-webkit mode.

No problems result if this variable is not bound. add-hook automatically binds it. (This is true for all hook variables.)

Source Code

;; Defined in /usr/src/emacs/lisp/xwidget.el.gz
(define-derived-mode xwidget-webkit-mode special-mode "xwidget-webkit"
  "Xwidget webkit view mode."
  (setq buffer-read-only t)
  (setq-local bookmark-make-record-function
              #'xwidget-webkit-bookmark-make-record)
  ;; Keep track of [vh]scroll when switching buffers
  (image-mode-setup-winprops))