[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 02e4b05: Change the default value of nxml-sexp-elem

From: Eli Zaretskii
Subject: [Emacs-diffs] master 02e4b05: Change the default value of nxml-sexp-element-flag.
Date: Sun, 1 Apr 2018 05:35:45 -0400 (EDT)

branch: master
commit 02e4b05c9d274e278581e811a4e935f922db402b
Author: Jostein KjĂžnigsen <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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 9dddc90..b874bdf 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 1df410e..554b5ac 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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]