set and make-local-variable in one form

This is clearer and complies with the traditional Emacs coding style.
This commit is contained in:
Sam Steingold 2016-09-13 09:33:25 -04:00
parent 99de3360c3
commit 4297ea0fc8

View file

@ -93,10 +93,10 @@ This function may raise an error."
(make-local-variable 'parse-sexp-ignore-comments)
(make-local-variable 'indent-line-function)
(make-local-variable 'indent-region-function)
(make-local-variable 'beginning-of-defun-function)
(make-local-variable 'end-of-defun-function)
(setq beginning-of-defun-function 'ein:worksheet-beginning-of-cell-input)
(setq end-of-defun-function 'ein:worksheet-end-of-cell-input)
(set (make-local-variable 'beginning-of-defun-function)
'ein:worksheet-beginning-of-cell-input)
(set (make-local-variable 'end-of-defun-function)
'ein:worksheet-end-of-cell-input)
(ein:ml-lang-setup-python)
(ein:ml-set-font-lock-defaults))