Skip to content

Instantly share code, notes, and snippets.

@lucaswerkmeister
Created May 14, 2017 18:00
Show Gist options
  • Save lucaswerkmeister/981b8df99a9f674c3bfc833f029d1895 to your computer and use it in GitHub Desktop.
Save lucaswerkmeister/981b8df99a9f674c3bfc833f029d1895 to your computer and use it in GitHub Desktop.

How to undo M-x global-set-key M-x ignore:

  1. Press F10 to open the menu. (Your terminal emulator might capture that key to open its own menu instead. You’ll have to find a way around that.)
  2. Navigate to the Buffers menu (3× right arrow key).
  3. Select the *scratch* buffer.
  4. In the *scratch* buffer, enter the following command:
    (global-set-key "\M-x" 'execute-extended-command)
  5. Press C-j to run the command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment