# HG changeset patch # User Oleksandr Gavenko # Date 1552299589 -7200 # Node ID 1fabb89531728426bd6d4268632974fb5e198056 # Parent ffabe41afc28b4ae0a36316594058bc7552ae24d Simpler key binding to collapse XML documents. diff -r ffabe41afc28 -r 1fabb8953172 .emacs-my --- a/.emacs-my Sun Mar 03 14:19:08 2019 +0200 +++ b/.emacs-my Mon Mar 11 12:19:49 2019 +0200 @@ -3523,7 +3523,8 @@ (my--eval-after-load nxml-mode (if (<= emacs-major-version 25) (define-key nxml-mode-map [C-return] 'nxml-complete) - (define-key nxml-mode-map [C-return] 'completion-at-point))) + (define-key nxml-mode-map [C-return] 'completion-at-point)) + (define-key nxml-mode-map [S-tab] 'hs-toggle-hiding)) (defun my-nxml-pp () "Pretty-print XML."