mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
Renae ein:notebook-org-src-mode to ein:notebook-multilang-mode
This commit is contained in:
parent
4fd899528a
commit
b01dd3250e
2 changed files with 3 additions and 5 deletions
|
@ -167,10 +167,10 @@ callback (`websocket-callback-debug-on-error') is enabled."
|
||||||
(interactive)
|
(interactive)
|
||||||
(setq ein:notebook-modes '(ein:notebook-mumamo-mode)))
|
(setq ein:notebook-modes '(ein:notebook-mumamo-mode)))
|
||||||
|
|
||||||
(defun ein:dev-notebook-org-src-mode ()
|
(defun ein:dev-notebook-multilang-mode ()
|
||||||
"Use `ein:notebook-org-src-mode'."
|
"Use `ein:notebook-multilang-mode'."
|
||||||
(interactive)
|
(interactive)
|
||||||
(setq ein:notebook-modes '(ein:notebook-org-src-mode)))
|
(setq ein:notebook-modes '(ein:notebook-multilang-mode)))
|
||||||
|
|
||||||
(defun ein:dev-sys-info--lib (name)
|
(defun ein:dev-sys-info--lib (name)
|
||||||
(let* ((libsym (intern-soft name))
|
(let* ((libsym (intern-soft name))
|
||||||
|
|
|
@ -1016,8 +1016,6 @@ This hook is run regardless the actual major mode used."
|
||||||
;; So try to load extra modules here.
|
;; So try to load extra modules here.
|
||||||
(when (require 'mumamo nil t)
|
(when (require 'mumamo nil t)
|
||||||
(require 'ein-mumamo))
|
(require 'ein-mumamo))
|
||||||
(when (require 'org-src nil t)
|
|
||||||
(require 'ein-org-src))
|
|
||||||
;; Return first matched mode
|
;; Return first matched mode
|
||||||
(loop for mode in ein:notebook-modes
|
(loop for mode in ein:notebook-modes
|
||||||
if (functionp mode)
|
if (functionp mode)
|
||||||
|
|
Loading…
Add table
Reference in a new issue