]> git.eshelyaron.com Git - emacs.git/commitdiff
Obsolete `global-whitespace-newline-mode'
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 1 Jun 2021 07:15:13 +0000 (09:15 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 1 Jun 2021 07:15:13 +0000 (09:15 +0200)
* lisp/whitespace.el (global-whitespace-newline-mode): Make
obsolete since it doesn't work correctly, and seems superfluous
(bug#12496).

lisp/whitespace.el

index 22bfae069750ead645c6415b3dd0a84311d22d99..b45d595cc26e5e360bda6781c29d71a8548c09db 100644 (file)
@@ -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")
 
 \f
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;