ayvango
ayvango

Reputation: 5977

how to set buffer local variable in emacs

I'd like to set a buffer-local variable (specifically mark-ring) to the default value (nil). How can I do this task? Is the only option to create some function and bind it to a key sequence in init.el file?

Upvotes: 10

Views: 5407

Answers (1)

seanmcl
seanmcl

Reputation: 9946

M-x eval-expression (setq mark-ring nil) (also M-: (setq mark-ring nil))

Upvotes: 19

Related Questions