command-log-mode icon indicating copy to clipboard operation
command-log-mode copied to clipboard

I don't understand what "global" means

Open Trevoke opened this issue 9 years ago • 2 comments

I set the variable to true and save it, but then when I use "command-log-mode" it still is only turning on for a single buffer.

Trevoke avatar Jul 25 '16 00:07 Trevoke

@Trevoke Here's my understanding: There are 2 commands:

  • (command-log-mode &optional ARG) toggles the command logging for the current buffer. Nothing else.
  • (global-command-log-mode &optional ARG) toggles the command logging for all buffers.

The commands are minor modes. The first is a buffer local minor mode, the second is a global minor mode.

pierre-rouleau avatar Nov 27 '20 16:11 pierre-rouleau

Ah I see, that makes sense, thanks.

Trevoke avatar Nov 28 '20 16:11 Trevoke