aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJostein Kjønigsen2018-03-20 07:15:17 +0100
committerEli Zaretskii2018-04-01 12:33:59 +0300
commit02e4b05c9d274e278581e811a4e935f922db402b (patch)
tree1bd8088138d3037db27cb24395948affd97a0f7c
parenta8ddd05d7d32946b892b9faaba6c9736ed2ad847 (diff)
downloademacs-02e4b05c9d274e278581e811a4e935f922db402b.tar.gz
emacs-02e4b05c9d274e278581e811a4e935f922db402b.zip
Change the default value of nxml-sexp-element-flag.
* lisp/nxml/nxml-mode.el (nxml-sexp-element-flag): Default value is now t.
-rw-r--r--etc/NEWS8
-rw-r--r--lisp/nxml/nxml-mode.el2
2 files changed, 9 insertions, 1 deletions
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.
286It has an option to use a single such buffer on selected frame, or 286It has an option to use a single such buffer on selected frame, or
287by default use the last buffer that navigated to the current buffer. 287by default use the last buffer that navigated to the current buffer.
288 288
289
290** nxml-mode
291
292*** Changed default for variable 'nxml-sexp-element-flag' to true.
293This means that pressing C-M-SPACE now selects the entire tree by
294default, and not just the opening element.
295
296
289** Eshell 297** Eshell
290 298
291--- 299---
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'."
56 :group 'nxml 56 :group 'nxml
57 :type 'boolean) 57 :type 'boolean)
58 58
59(defcustom nxml-sexp-element-flag nil 59(defcustom nxml-sexp-element-flag t
60 "Non-nil means sexp commands treat an element as a single expression." 60 "Non-nil means sexp commands treat an element as a single expression."
61 :group 'nxml 61 :group 'nxml
62 :type 'boolean) 62 :type 'boolean)