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:
@ -52,18 +52,23 @@
(server-start)) (server-start))
) )
;; 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
:custom :config
(edit-server-url-major-mode-alist (atomic-chrome-start-server)
'(
("^likeable\\.space/" . markdown-mode) :custom
("^schlomp\\.space/" . markdown-mode) (atomic-chrome-url-major-mode-alist
("^wiki\\.gentoo\\.org/" . mediawiki-mode) '(
("^github\\.com/" . markdown-mode) ("^likeable\\.space/" . markdown-mode)
("^gitlab\\.com/" . markdown-mode) ("^schlomp\\.space/" . markdown-mode)
)) ("^wiki\\.gentoo\\.org/" . mediawiki-mode)
("^github\\.com/" . markdown-mode)
("^gitlab\\.com/" . markdown-mode)
))
(atomic-chrome-buffer-open-style 'frame)
)
:config :config
(edit-server-start) (edit-server-start)