in emacs, I would like to reassign \C-/ from undo to my own function by commenting out the current region or current line (if no region is selected). When I try something like this:
(global-set-key "\C-/" 'comment-or-uncomment-region-or-line)
I get an error
error: Invalid modifier in string
I tried to use different keybinding methods, unfortunately, without success and googling for \C-/ also not very useful.
Thank you for your help.
source share