From 53d1a23d61602cc07e536f8069717e748be11b8d Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 27 Feb 2020 06:08:54 +0100 Subject: [PATCH] Emacs: Change markdown-mode in hooks to gfm-mode where appropriate. --- init.d/basics/buffers.el | 4 ++-- init.d/net/server.el | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/init.d/basics/buffers.el b/init.d/basics/buffers.el index db5bd28..bf171c5 100644 --- a/init.d/basics/buffers.el +++ b/init.d/basics/buffers.el @@ -1,6 +1,6 @@ ;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-02-25T03:46:30+0100> +;; Time-stamp: <2020-02-27T06:07:38+0100> ;;; Commentary: ;; * Setup scratch buffer. @@ -15,7 +15,7 @@ :custom (initial-scratch-message nil) ; Make scratch buffer empty, - (initial-major-mode 'markdown-mode) ; and select mode. + (initial-major-mode 'gfm-mode) ; and select mode. :config (defvar my/skippable-buffers '("^\\*" "^magit[:-]") diff --git a/init.d/net/server.el b/init.d/net/server.el index e02be3e..11d72ad 100644 --- a/init.d/net/server.el +++ b/init.d/net/server.el @@ -1,6 +1,6 @@ ;;; server.el --- Set up network stuff.. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-02-19T22:26:00+0100> +;; Time-stamp: <2020-02-27T06:05:32+0100> ;;; Commentary: @@ -68,11 +68,11 @@ (atomic-chrome-url-major-mode-alist '( ("^likeable\\.space$" . markdown-mode) - ("^schlomp\\.space$" . markdown-mode) + ("^schlomp\\.space$" . gfm-mode) ("^wiki\\.gentoo\\.org$" . mediawiki-mode) - ("^github\\.com$" . markdown-mode) - ("^gitlab\\.com$" . markdown-mode) - ("^gitlab\\.gnome\\.org$" . markdown-mode) + ("^github\\.com$" . gfm-mode) + ("^gitlab\\.com$" . gfm-mode) + ("^gitlab\\.gnome\\.org$" . gfm-mode) )) (atomic-chrome-buffer-open-style 'frame)