Skip to content

How can I remove a character-binding for a thing? #538

Closed Answered by montchr
montchr asked this question in Q&A
Discussion options

You must be logged in to vote

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):

(assoc-delete-all ?r meow-char-thing-table #'eq))

Here is the original value of meow-char-thing-table for reference:

((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))

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by montchr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant