Function: denote--trim-right-token-characters
denote--trim-right-token-characters is a byte-compiled function
defined in denote.el.
Signature
(denote--trim-right-token-characters STR COMPONENT)
Documentation
Remove =, -, _ and @ from the end of STR.
The removal is done only if necessary according to COMPONENT.
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote--trim-right-token-characters (str component)
"Remove =, -, _ and @ from the end of STR.
The removal is done only if necessary according to COMPONENT."
(if (eq component 'title)
(string-trim-right str "[=@_]+")
(string-trim-right str "[=@_-]+")))