Function: hmouse-update-smart-keys

hmouse-update-smart-keys is an interactive and byte-compiled function defined in hmouse-key.el.

Signature

(hmouse-update-smart-keys)

Documentation

Reload the contexts and actions associated with the Smart Keys.

Use after any programmatic change is made.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-key.el
;; Define function to reload Smart Key bindings and actions after a source code change.
(defun hmouse-update-smart-keys ()
  "Reload the contexts and actions associated with the Smart Keys.
Use after any programmatic change is made."
  (interactive)
  (let ((load-prefer-newer t)
	(ftrs '(hui-mouse hui-window hibtypes hactypes)))
    (load "hui-mini")
    (hkey-initialize)
    (makunbound 'hkey-alist)
    (makunbound 'hmouse-alist)
    (mapc (lambda (feature)
	    (setq features (delq feature features)))
	  ftrs)
    (mapc #'require ftrs)
    (message "Hyperbole Smart Keys and menus have been updated")))