Function: jinx--save-session
jinx--save-session is a natively compiled function defined in jinx.el.
Signature
(jinx--save-session ACTION KEY WORD)
Documentation
Add or remove WORD from current session, or format word with KEY.
ACTION can be add, remove, has, format.
Source Code
;; Defined in /nix/store/b5jnxgwmlp7hh60wfrx7amhrmrpfcqqi-emacs-packages-deps/share/emacs/site-lisp/elpa/jinx-20260926.912/jinx.el
(defun jinx--save-session (action key word)
"Add or remove WORD from current session, or format word with KEY.
ACTION can be add, remove, has, format."
(pcase-exhaustive action
('add (add-to-list 'jinx--session-words word))
('remove (cl-callf2 remove word jinx--session-words))
('has (member word jinx--session-words))
('format `((,(char-to-string key) ,word "Session")))))