-
How can I go about removing a character-thing mapping from For example, I would like to remove the I have tried both of these but only get errors because I am not familiar with the structure of (cl-remove ?r 'meow-char-thing-table)
(seq-remove-at-position 'meow-char-thing-table ?r) Edit: It appears (set-char-table-range 'meow-char-thing-table ?r nil) That set me on the right track, I have an answer below. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I've figured it out. I was over-complicating things because I assumed This worked for me (simplified from a function making it reusable): (assoc-delete-all ?r meow-char-thing-table #'eq)) Here is the original value of ((114 . round)
(115 . square)
(99 . curly)
(103 . string)
(101 . symbol)
(119 . window)
(98 . buffer)
(112 . paragraph)
(108 . line)
(118 . visual-line)
(100 . defun)
(46 . sentence)) |
Beta Was this translation helpful? Give feedback.
I've figured it out. I was over-complicating things because I assumed
meow-char-thing-table
is a character table, but it is actually an alist.This worked for me (simplified from a function making it reusable):
Here is the original value of
meow-char-thing-table
for reference: