Function: hmouse-mod-disable

hmouse-mod-disable is a byte-compiled function defined in hmouse-mod.el.

Signature

(hmouse-mod-disable)

Documentation

Restore the global keymap to its state prior to enabling hmouse-mod-mode(var)/hmouse-mod-mode(fun).

This stops the Smart Keys from acting as modifier keys.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-mod.el
;;; ************************************************************************
;;; Private functions
;;; ************************************************************************

(defun hmouse-mod-disable ()
  "Restore the global keymap to its state prior to enabling `hmouse-mod-mode'.
This stops the Smart Keys from acting as modifier keys."
  (use-global-map (if (keymapp hmouse-mod--prior-global-map)
		      hmouse-mod--prior-global-map
		    global-map)))