# HG changeset patch # User Oleksandr Gavenko # Date 1532544750 -10800 # Node ID 3a880076385d272376e6b882042df6f8d3105fe9 # Parent 0e7f4d5153d15607233f370e7391c4f4c80de16a Fixed: ‘nxml-complete’ is an obsolete command (as of 26.1); use ‘completion-at-point’ instead. diff -r 0e7f4d5153d1 -r 3a880076385d .emacs-my --- a/.emacs-my Thu Jul 19 15:06:02 2018 +0300 +++ b/.emacs-my Wed Jul 25 21:52:30 2018 +0300 @@ -3509,7 +3509,9 @@ (add-to-list 'auto-mode-alist '("\.atom\\'" . nxml-mode)) (my--eval-after-load nxml-mode - (define-key nxml-mode-map [C-return] 'nxml-complete)) + (if (<= emacs-major-version 25) + (define-key nxml-mode-map [C-return] 'nxml-complete) + (define-key nxml-mode-map [C-return] 'completion-at-point)) (defun my-nxml-pp () "Pretty-print XML."