From: Jostein Kjønigsen Date: Tue, 20 Mar 2018 06:15:17 +0000 (+0100) Subject: Change the default value of nxml-sexp-element-flag. X-Git-Tag: emacs-27.0.90~5355 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=02e4b05c9d274e278581e811a4e935f922db402b;p=emacs.git Change the default value of nxml-sexp-element-flag. * lisp/nxml/nxml-mode.el (nxml-sexp-element-flag): Default value is now t. --- diff --git a/etc/NEWS b/etc/NEWS index 9dddc902130..b874bdf6f22 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -286,6 +286,14 @@ defines the logic of finding a next-error capable buffer. It has an option to use a single such buffer on selected frame, or by default use the last buffer that navigated to the current buffer. + +** nxml-mode + +*** Changed default for variable 'nxml-sexp-element-flag' to true. +This means that pressing C-M-SPACE now selects the entire tree by +default, and not just the opening element. + + ** Eshell --- diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el index 1df410e505d..554b5acfb20 100644 --- a/lisp/nxml/nxml-mode.el +++ b/lisp/nxml/nxml-mode.el @@ -56,7 +56,7 @@ The glyph is displayed in face `nxml-glyph'." :group 'nxml :type 'boolean) -(defcustom nxml-sexp-element-flag nil +(defcustom nxml-sexp-element-flag t "Non-nil means sexp commands treat an element as a single expression." :group 'nxml :type 'boolean)