Commit 84bd6e9e authored by Vinicius Jose Latorre's avatar Vinicius Jose Latorre

Disable whitespace-newline-mode properly.

parent c2ff3c02
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
* whitespace.el: New version 13.2.2.
(whitespace-newline-mode): Disable properly. Reported by Sarah
<EmacsWiki>.
2011-10-30 Ulf Jasper <ulf.jasper@web.de>
* net/newst-treeview.el: Remove "Time-stamp".
......
......@@ -5,7 +5,7 @@
;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
;; Keywords: data, wp
;; Version: 13.2.1
;; Version: 13.2.2
;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre
;; This file is part of GNU Emacs.
......@@ -1102,10 +1102,14 @@ See also `whitespace-newline' and `whitespace-display-mappings'."
:init-value nil
:global nil
:group 'whitespace
(let ((whitespace-style '(face newline-mark newline)))
(whitespace-mode (if whitespace-newline-mode 1 -1))
;; Sync states (running a batch job).
(setq whitespace-newline-mode whitespace-mode)))
(cond
(whitespace-newline-mode
(let ((whitespace-style '(face newline-mark newline)))
(whitespace-mode whitespace-newline-mode)))
(t
(whitespace-mode -1)))
;; sync states (running a batch job)
(setq whitespace-newline-mode whitespace-mode))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment