Hot answers tagged

2

Use setq-local to make a variable buffer-local. It works well in a hook like this: (add-hook 'ruby-mode-hook (lambda () (setq-local flycheck-command-wrapper-function (lambda (command) (append '("bundle" "exec") command)))))


Only top voted, non community-wiki answers of a minimum length are eligible