Function: hywconfig-delete-by-name

hywconfig-delete-by-name is an autoloaded, interactive and byte-compiled function defined in hywconfig.el.

Signature

(hywconfig-delete-by-name NAME)

Documentation

Delete frame-specific window configuration saved with NAME.

Return t if name exists and is deleted, else nil.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywconfig.el
;;;###autoload
(defun hywconfig-delete-by-name (name)
  "Delete frame-specific window configuration saved with NAME.

Return t if name exists and is deleted, else nil."
  (interactive (list (hargs:read-match "Delete window configuration named: "
				       (hywconfig-named-get-names) nil t)))
  (cond ((null name)
	 (message "There is no named window configuration to delete."))
	((not (stringp name))
	 (error "(hywconfig-delete-by-name): `name' argument is not a string: %s" name))
	(t (let ((removed-flag (hywconfig-named-remove name)))
	     (when (and removed-flag (called-interactively-p 'interactive))
	       (message "Window configuration `%s' has been deleted." name))
	     removed-flag))))