Function: hbmap:dir-remove

hbmap:dir-remove is a byte-compiled function defined in hbmap.el.

Signature

(hbmap:dir-remove DIR-NAME &optional NO-SAVE)

Documentation

Remove DIR-NAME from map of all dirs in which user has written buttons.

Returns t iff DIR-NAME is in the map and is successfully removed, nil if it is not, and some other value when the map is not readable or writable. Optional NO-SAVE disables saving of the map after a removal.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbmap.el
(defun hbmap:dir-remove (dir-name &optional no-save)
  "Remove DIR-NAME from map of all dirs in which user has written buttons.
Returns t iff DIR-NAME is in the map and is successfully removed, nil if it
is not, and some other value when the map is not readable or writable.
Optional NO-SAVE disables saving of the map after a removal."
(hbmap:dir-operate 'hbmap:dir-member dir-name
		   '(delete-region (point) (progn (forward-line 1) (point)))
		   no-save))