Emacs: Disable whitespace-mode workaround for Emacs >= 27.
This commit is contained in:
parent
5acc814905
commit
7031dd28b5
|
@ -1,6 +1,6 @@
|
||||||
;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*-
|
;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-01-23T02:40:52+0100>
|
;; Time-stamp: <2020-01-27T01:53:16+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -260,8 +260,9 @@
|
||||||
|
|
||||||
(defun my/ws-load-local-vars-first ()
|
(defun my/ws-load-local-vars-first ()
|
||||||
"Loads local variables (fill-column) before enabling whitespace-mode."
|
"Loads local variables (fill-column) before enabling whitespace-mode."
|
||||||
|
(when (< emacs-major-version 27) ; We don't use 'lines-tail in Emacs >= 27.
|
||||||
(hack-local-variables)
|
(hack-local-variables)
|
||||||
(whitespace-mode)
|
(whitespace-mode))
|
||||||
)
|
)
|
||||||
|
|
||||||
(defvar my/no-ws-cleanup nil
|
(defvar my/no-ws-cleanup nil
|
||||||
|
|
Loading…
Reference in New Issue
Block a user