summaryrefslogtreecommitdiff
path: root/lisp/whitespace.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/whitespace.el')
-rw-r--r--lisp/whitespace.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index 22bfae06975..a2dc6ab9814 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -593,7 +593,7 @@ Used when `whitespace-style' includes the value `empty'.")
(defface whitespace-empty
'((((class mono)) :inverse-video t :weight bold :underline t)
- (t :background "yellow" :foreground "firebrick"))
+ (t :background "yellow" :foreground "firebrick" :extend t))
"Face used to visualize empty lines at beginning and/or end of buffer."
:group 'whitespace)
@@ -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")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;