Function: hyperbole--enable-mode
hyperbole--enable-mode is a byte-compiled function defined in
hyperbole.el.
Signature
(hyperbole--enable-mode)
Documentation
Enable Hyperbole global minor mode.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyperbole.el
(defun hyperbole--enable-mode ()
"Enable Hyperbole global minor mode."
;; If Hyperbole is loaded without the user's init being run,
;; then force execution of (hyperb:init) when the mode is enabled.
(unless (and hkey-init (where-is-internal #'hkey-help))
(hyperb:init)
(remove-hook 'after-init-hook #'hyperb:init))
;;
;; Update mode-line hover doc in blank areas for button-2 and
;; button-3 if using unshifted Smart Keys.
(set-variable mode-line-default-help-echo #'hmouse-modeline-default-help-echo)
(force-mode-line-update t)
;;
;; Abbreviate MSWindows /cygdrive mount point paths.
(when (file-exists-p "/cygdrive")
(add-to-list 'directory-abbrev-alist hyperb:cygdrive))
;; When running under a POSIX system with possible access to MSWindows servers,
;; cache valid MSWindows mount points.
(hpath:cache-mswindows-mount-points)
;;
;; Save button attribute file whenever same dir file is saved and
;; `ebut:hattr-save' is non-nil.
(add-hook (if (boundp 'write-file-functions)
'write-file-functions
'write-file-hooks)
#'hattr:save t)
;;
(hyperb:init-menubar))