RFR: 8207851: Implement JEP 352

Andrew Dinn adinn at redhat.com
Thu Jun 6 12:15:15 UTC 2019


On 06/06/2019 10:46, Andrew Haley wrote:
> Handy hint. In your .emacs, add this:
> 
> ;;; goodbye trailing whitespace blues!!!
> 
> (add-hook 'java-mode-hook
> 	   (lambda ()
> 	     (progn
> 	       (set-variable 'show-trailing-whitespace t)
> 	       )))
> 
> (add-hook 'c-mode-hook
> 	  (lambda ()
> 	    (progn
> 	      (set-variable 'show-trailing-whitespace t)
> 	      )))
> 
> 
> (add-hook 'c++-mode-hook
> 	  (lambda ()
> 	    (progn
> 	      (set-variable 'show-trailing-whitespace t)
> 	      )))
There, fixed that for ya!

> ...and you'll never have any trouble with trailing whitespace again.
Now working beautifully, thank you!

regards,


Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander


More information about the hotspot-compiler-dev mailing list