Function: majutsu-jjdescription--save-message
majutsu-jjdescription--save-message is a natively compiled function
defined in majutsu-jjdescription.el.
Signature
(majutsu-jjdescription--save-message &optional QUIET)
Documentation
Save the current description to log-edit-comment-ring.
When QUIET is non-nil, do not report status in the echo area.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-jjdescription.el
(defun majutsu-jjdescription--save-message (&optional quiet)
"Save the current description to `log-edit-comment-ring'.
When QUIET is non-nil, do not report status in the echo area."
(if-let* ((message (majutsu-jjdescription-buffer-message)))
(progn
(when-let* ((index (ring-member log-edit-comment-ring message)))
(ring-remove log-edit-comment-ring index))
(ring-insert log-edit-comment-ring message)
(unless quiet
(message "Description saved"))
t)
(unless quiet
(message "Only whitespace and/or comments; description not saved"))
nil))