Skip to content

Instantly share code, notes, and snippets.

@greghendershott
Created October 11, 2015 20:07
Show Gist options
  • Save greghendershott/ea73e9c3e4a6be49e56f to your computer and use it in GitHub Desktop.
Save greghendershott/ea73e9c3e4a6be49e56f to your computer and use it in GitHub Desktop.
(defun chandler/buffer-local-tab-complete ()
"Make `tab-always-indent' a buffer-local variable and set it to 'complete."
(make-local-variable 'tab-always-indent)
(setq tab-always-indent 'complete))
(add-hook 'racket-mode #'chandler/buffer-local-tab-complete)
(add-hook 'racket-repl-mode #'chandler/buffer-local-tab-complete)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment