Exacs: Replace edit-server with atomic-chrome.

This commit is contained in:
tastytea 2020-01-01 05:03:23 +01:00
parent fa82276f7d
commit aa06333028

View File

@ -1,6 +1,6 @@
;;; server.el --- Set up network stuff.. -*- lexical-binding: t; -*- ;;; server.el --- Set up network stuff.. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-01-01T02:44:56+0100> ;; Time-stamp: <2020-01-01T05:03:16+0100>
;;; Commentary: ;;; Commentary:
@ -53,10 +53,13 @@
) )
;; Server for Firefox-extension that allows to use Emacs to edit textareas. ;; Server for Firefox-extension that allows to use Emacs to edit textareas.
;; https://addons.mozilla.org/de/firefox/addon/edit-with-emacs1/ ;; https://addons.mozilla.org/en-US/firefox/addon/ghosttext/
(use-package edit-server (use-package atomic-chrome
:config
(atomic-chrome-start-server)
:custom :custom
(edit-server-url-major-mode-alist (atomic-chrome-url-major-mode-alist
'( '(
("^likeable\\.space/" . markdown-mode) ("^likeable\\.space/" . markdown-mode)
("^schlomp\\.space/" . markdown-mode) ("^schlomp\\.space/" . markdown-mode)
@ -64,6 +67,8 @@
("^github\\.com/" . markdown-mode) ("^github\\.com/" . markdown-mode)
("^gitlab\\.com/" . markdown-mode) ("^gitlab\\.com/" . markdown-mode)
)) ))
(atomic-chrome-buffer-open-style 'frame)
)
:config :config
(edit-server-start) (edit-server-start)