Renae ein:notebook-org-src-mode to ein:notebook-multilang-mode

This commit is contained in:
Takafumi Arakaki 2012-09-30 20:24:09 +02:00
parent 4fd899528a
commit b01dd3250e
2 changed files with 3 additions and 5 deletions

View file

@ -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))

View file

@ -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)