mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 01:21:38 -05:00
Document ein:tramp-create-filename-translator more
This commit is contained in:
parent
6113b47a76
commit
959102e70e
1 changed files with 5 additions and 0 deletions
|
@ -469,6 +469,11 @@ Usage::
|
|||
(setq ein:filename-translations
|
||||
`((8888
|
||||
. ,(ein:tramp-create-filename-translator \"MY-HOSTNAME\"))))
|
||||
;; Equivalently:
|
||||
(setq ein:filename-translations
|
||||
(lambda (url-or-port)
|
||||
(when (equal url-or-port 8888)
|
||||
(ein:tramp-create-filename-translator \"MY-HOSTNAME\"))))
|
||||
|
||||
This setting assumes that the IPython server which can be
|
||||
connected using the port 8888 in localhost is actually running in
|
||||
|
|
Loading…
Add table
Reference in a new issue