Emacs: Bugfix: enable whitespace in Emacs >= 27.
This commit is contained in:
parent
0ff970fcd1
commit
aa2f3b2961
|
@ -1,6 +1,6 @@
|
|||
;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-01-27T02:39:04+0100>
|
||||
;; Time-stamp: <2020-01-27T04:33:20+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -262,8 +262,8 @@
|
|||
(defun my/ws-load-local-vars-first ()
|
||||
"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)
|
||||
(whitespace-mode))
|
||||
(hack-local-variables))
|
||||
(whitespace-mode)
|
||||
)
|
||||
|
||||
(defvar my/no-ws-cleanup nil
|
||||
|
|
Loading…
Reference in New Issue
Block a user