Function: sesman-unlink

sesman-unlink is an autoloaded, interactive and byte-compiled function defined in sesman.el.

Signature

(sesman-unlink &optional LINKS)

Documentation

Break sesman LINKS.

If LINKS is nil, ask interactively for a link. With a prefix argument break all links.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/sesman-20240417.1723/sesman.el
;;;###autoload
(defun sesman-unlink (&optional links)
  "Break sesman LINKS.
If LINKS is nil, ask interactively for a link. With a prefix argument break all
links."
  (interactive)
  (mapc #'sesman--unlink (or (when current-prefix-arg
                               (sesman-current-links (sesman--system)))
                             links
                             (sesman--ask-for-link "Unlink: "
                                                   (or (sesman-current-links (sesman--system))
                                                       (user-error "No %s links found" (sesman--system)))
                                                   'ask-all)))
  (run-hooks 'sesman-post-command-hook))