How to toggle the selected Emacs region visibility

Emacs

Add the following line to your .emacs file:

(transient-mark-mode 1)

From HowTo Wiki, a Wikia wiki.