Function: hbut:fill-prefix-remove

hbut:fill-prefix-remove is a byte-compiled function defined in hbut.el.

Signature

(hbut:fill-prefix-remove LABEL)

Documentation

Remove any recognized fill prefixes and comments from within LABEL.

hbut:fill-prefix-regexps is a list of fill prefixes to recognize.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbut.el
(defun    hbut:fill-prefix-remove (label)
  "Remove any recognized fill prefixes and comments from within LABEL.
`hbut:fill-prefix-regexps' is a list of fill prefixes to recognize."
  (when (string-match "\n" label)
    (mapc (lambda (prefix)
	    (when (string-match "\n" label)
	      (setq label (replace-regexp-in-string prefix " " label nil t))))
	  hbut:fill-prefix-regexps))
  label)