diff options
| author | Jostein Kjønigsen | 2018-03-20 07:15:17 +0100 |
|---|---|---|
| committer | Eli Zaretskii | 2018-04-01 12:33:59 +0300 |
| commit | 02e4b05c9d274e278581e811a4e935f922db402b (patch) | |
| tree | 1bd8088138d3037db27cb24395948affd97a0f7c | |
| parent | a8ddd05d7d32946b892b9faaba6c9736ed2ad847 (diff) | |
| download | emacs-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/NEWS | 8 | ||||
| -rw-r--r-- | lisp/nxml/nxml-mode.el | 2 |
2 files changed, 9 insertions, 1 deletions
| @@ -286,6 +286,14 @@ defines the logic of finding a next-error capable buffer. | |||
| 286 | It has an option to use a single such buffer on selected frame, or | 286 | It has an option to use a single such buffer on selected frame, or |
| 287 | by default use the last buffer that navigated to the current buffer. | 287 | by 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. | ||
| 293 | This means that pressing C-M-SPACE now selects the entire tree by | ||
| 294 | default, 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) |