From: Lars Ingebrigtsen Date: Tue, 1 Jun 2021 07:15:13 +0000 (+0200) Subject: Obsolete `global-whitespace-newline-mode' X-Git-Tag: emacs-28.0.90~2238 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0a7ca6fc3f4c22c9efc809fcd08e866734c6c981;p=emacs.git 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). --- 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") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;