Remove Caps_Lock in 13.1?

How do I make this work? In previous versions, I would run xmodmap with the line “Remove Lock = Caps_Lock”, but this does not work since I upgraded to 13.1. The basic functionality seems to be there: I can for instance remap Caps_Lock to Tab with

xmodmap -e 'clear Lock' -e 'keycode 0x42 = Tab'

, but what I want is for the Caps_Lock key to not do anything at all. (My fingers are too big, and I often hit it by accident when tabbing…)

Err… Cancel this. I found a way, just

xmodmap -e 'clear Lock' -e 'keycode 0x42 = '
  • which I thought violated xmodmap syntax rules, but apparently not.