X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/e0576f07f3cc1596f9aee709cd772f46a8c3ad27..4936186e9c0135544ad00de67a9a8579fb637476:/lisp/wid-edit.el diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 205f70d32e..373becd3b5 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el @@ -874,7 +874,9 @@ button end points." (define-key map [backtab] 'widget-backward) (define-key map [down-mouse-2] 'widget-button-click) (define-key map [down-mouse-1] 'widget-button-click) - (define-key map "\C-m" 'widget-button-press) + ;; The following definition needs to avoid using escape sequences that + ;; might get converted to ^M when building loaddefs.el + (define-key map [(control ?m)] 'widget-button-press) map) "Keymap containing useful binding for buffers containing widgets. Recommended as a parent keymap for modes using widgets.") @@ -1771,7 +1773,7 @@ If END is omitted, it defaults to the length of LIST." "An embedded link." :button-prefix 'widget-link-prefix :button-suffix 'widget-link-suffix - :follow-link "\C-m" + :follow-link 'mouse-face :help-echo "Follow the link." :format "%[%t%]") @@ -3797,5 +3799,5 @@ example: (provide 'wid-edit) -;;; arch-tag: a076e75e-18a1-4b46-8be5-3f317bcbc707 +;; arch-tag: a076e75e-18a1-4b46-8be5-3f317bcbc707 ;;; wid-edit.el ends here