[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0a7ca6f 2/4: Obsolete `global-whitespace-newline-mode'
From: |
Lars Ingebrigtsen |
Subject: |
master 0a7ca6f 2/4: Obsolete `global-whitespace-newline-mode' |
Date: |
Tue, 1 Jun 2021 04:24:41 -0400 (EDT) |
branch: master
commit 0a7ca6fc3f4c22c9efc809fcd08e866734c6c981
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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 22bfae0..b45d595 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")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;