Function: hpath:strip-suffix
hpath:strip-suffix is a byte-compiled function defined in hpath.el.
Signature
(hpath:strip-suffix PATH)
Documentation
Strip any suffix including and after '#' and return the remaining path.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hpath.el
(defun hpath:strip-suffix (path)
"Strip any suffix including and after '#' and return the remaining path."
(when (stringp path) (substring path 0 (cl-position ?# path))))