Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run setq interactively

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.

like image 760
sligocki Avatar asked Apr 24 '13 14:04

sligocki


2 Answers

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

like image 142
Sean Avatar answered Oct 04 '22 00:10

Sean


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.

like image 44
Nicolas Dudebout Avatar answered Oct 04 '22 02:10

Nicolas Dudebout