2019-01-14 16:20:48 +00:00
|
|
|
;;; john_title --- Enables RPC for john titor client
|
|
|
|
;;; Commentary:
|
|
|
|
;;; Code:
|
2019-01-14 17:21:36 +00:00
|
|
|
(defun john-titor-connect ()
|
2019-01-14 16:20:48 +00:00
|
|
|
"Connect to john titor via RPC."
|
|
|
|
(interactive)
|
2019-01-14 17:21:36 +00:00
|
|
|
(john_titor/connect))
|
|
|
|
|
2019-01-14 16:20:48 +00:00
|
|
|
|
2019-01-14 17:21:36 +00:00
|
|
|
(defun john-titor-disconnect ()
|
2019-01-14 16:20:48 +00:00
|
|
|
"Disconnect from the john titor client."
|
|
|
|
(interactive)
|
2019-01-14 17:21:36 +00:00
|
|
|
(john_titor/disconnect))
|
2019-01-14 16:20:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
;;;###autoload
|
2019-01-14 17:21:36 +00:00
|
|
|
(defun extensions/john-titor-initialize ()
|
2019-01-14 16:20:48 +00:00
|
|
|
"Initialize the john_titor extention."
|
2019-01-14 17:21:36 +00:00
|
|
|
(require 'john_titor)
|
|
|
|
|
|
|
|
(when (nilp epc-connection)
|
|
|
|
(john-titor-connect)))
|
2019-01-14 16:20:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
(provide 'extensions/john_titor/init)
|
|
|
|
;;; init.el ends here
|