mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
Setup hooks and mode-map for ein:notebook-org-src-mode
This commit is contained in:
parent
8f75ef6ac0
commit
f1aa821bb8
1 changed files with 4 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
(require 'org-src)
|
||||
|
||||
(require 'ein-worksheet)
|
||||
(require 'ein-notebook)
|
||||
|
||||
(defun ein:org-src-fontify (limit)
|
||||
"Fontify next input area comes after the current point then
|
||||
|
@ -61,6 +61,9 @@ This function may raise an error."
|
|||
"Notebook mode with org-mode powered fontification."
|
||||
(ein:org-src-set-font-lock-defaults))
|
||||
|
||||
(add-hook 'ein:notebook-org-src-mode-hook 'ein:worksheet-imenu-setup)
|
||||
(set-keymap-parent ein:notebook-org-src-mode-map ein:notebook-mode-map)
|
||||
|
||||
(provide 'ein-org-src)
|
||||
|
||||
;;; ein-org-src.el ends here
|
||||
|
|
Loading…
Add table
Reference in a new issue