Function: Info-current-filename-sans-extension
Info-current-filename-sans-extension is an autoloaded and
byte-compiled function defined in hmouse-info.el.
Signature
(Info-current-filename-sans-extension)
Documentation
Return the filename for the current Info node, if any.
Filename is returned without directory or file extension. This works regardless of the current buffer.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-info.el
;;;###autoload
(defun Info-current-filename-sans-extension ()
"Return the filename for the current Info node, if any.
Filename is returned without directory or file extension.
This works regardless of the current buffer."
(save-window-excursion
(info)
(if (stringp Info-current-file)
(file-name-sans-extension (file-name-nondirectory Info-current-file))
;; Some legacy code can still use a symbol.
Info-current-file)))