35

Specifically I want to do the same thing as (setq frame-title-format ...) would do in my config file, but from the M-x interactive command. M-x setq does not seem to work.

sligocki
  • 6,246
  • 5
  • 38
  • 47

2 Answers2

42

Don't use M-x, use M-:, which runs the command eval-expression.

Sean
  • 29,130
  • 4
  • 80
  • 105
4

To set a variable defined with defcustom you can also use M-x set-variable. You will not have to type the parentheses and you will have name completion.

Nicolas Dudebout
  • 9,172
  • 2
  • 34
  • 43