From 0a7ca6fc3f4c22c9efc809fcd08e866734c6c981 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 1 Jun 2021 09:15:13 +0200 Subject: [PATCH] Obsolete `global-whitespace-newline-mode' * lisp/whitespace.el (global-whitespace-newline-mode): Make obsolete since it doesn't work correctly, and seems superfluous (bug#12496). --- lisp/whitespace.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 22bfae06975..b45d595cc26 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el @@ -1039,6 +1039,9 @@ See also `whitespace-newline' and `whitespace-display-mappings'." 1 -1)) ;; sync states (running a batch job) (setq global-whitespace-newline-mode global-whitespace-mode))) +(make-obsolete 'global-whitespace-newline-mode + "Use `global-whitespace-mode' with `whitespace-style' set to `(newline-mark newline)' instead" + "28.1") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -- 2.39.2