mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
set and make-local-variable in one form
This is clearer and complies with the traditional Emacs coding style.
This commit is contained in:
parent
99de3360c3
commit
4297ea0fc8
1 changed files with 4 additions and 4 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue