mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 01:21:38 -05:00
Document how autoload and eval-after-load work
This commit is contained in:
parent
2d6dc2bc4b
commit
386322298a
1 changed files with 7 additions and 0 deletions
|
@ -100,6 +100,13 @@ node `(org) External links' and Info node `(org) Search options'"
|
|||
'(progn
|
||||
(org-add-link-type "ipynb" 'ein:org-open)
|
||||
(add-hook 'org-store-link-functions 'ein:org-store-link)))
|
||||
;; The above expression is evaluated via loaddef file. At the moment,
|
||||
;; org.el nor ein-org.el need not be loaded. When org-mode is used,
|
||||
;; the above `progn' is executed but still ein-org.el is not loaded.
|
||||
;; When `ein:org-open' or `ein:org-store-link' is called for opening
|
||||
;; or storing ipynb link, ein-org.el is loaded finally. (When
|
||||
;; ein-org.el is loaded the above expression is evaluated again, but
|
||||
;; that's OK as the expression is idempotent.)
|
||||
|
||||
|
||||
(provide 'ein-org)
|
||||
|
|
Loading…
Add table
Reference in a new issue