Function: hyrolo-set-major-mode

hyrolo-set-major-mode is a byte-compiled function defined in hyrolo.el.

Signature

(hyrolo-set-major-mode)

Documentation

Set current buffer's Hyperbole major mode according to its file type.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260930.1652/hyrolo.el
(defun hyrolo-set-major-mode ()
  "Set current buffer's Hyperbole major mode according to its file type."
  (funcall (or (hyrolo-major-mode-from-file-name buffer-file-name)
	       (buffer-local-value 'major-mode (current-buffer)))))