Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/unicode-tokens.el
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,13 @@ if it is bound; it should be the name of a variable."
(setq unicode-tokens-shortcut-replacement-alist
unicode-tokens-shortcut-alist))
(unless unicode-tokens-tokens-customizable-variables
(let ((f (lambda (sym) (when (boundp sym) (symbol-value sym)))))
(setq unicode-tokens-tokens-customizable-variables
(list
(list "Token Map"
(symbol-value (unicode-tokens-config-var 'token-symbol-map)))
(funcall f (unicode-tokens-config-var 'token-symbol-map)))
(list "Shortcut List"
(symbol-value (unicode-tokens-config-var 'shortcut-alist)))))))
(funcall f (unicode-tokens-config-var 'shortcut-alist))))))))

;;
;; Variables set in the mode
Expand Down