From 02e4b05c9d274e278581e811a4e935f922db402b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jostein=20Kj=C3=B8nigsen?= Date: Tue, 20 Mar 2018 07:15:17 +0100 Subject: [PATCH] Change the default value of nxml-sexp-element-flag. * lisp/nxml/nxml-mode.el (nxml-sexp-element-flag): Default value is now t. --- etc/NEWS | 8 ++++++++ lisp/nxml/nxml-mode.el | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) 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) -- 2.39.2