From: Eli Zaretskii Date: Sat, 22 Jun 2024 10:38:53 +0000 (+0300) Subject: Allow to expand truncated long lines in *Compilation* buffers X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~948 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=75fdeef7b494b0acffb69822ff9bec148140de16;p=emacs.git Allow to expand truncated long lines in *Compilation* buffers * lisp/progmodes/compile.el (compilation-button-map): Bind keys in 'compilation-button-map' to allow expanding the truncated text. (Bug#71683) --- diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 4d43a715fef..d2e74aa44a6 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -2292,6 +2292,9 @@ Returns the compilation buffer created." (define-key map [mouse-2] 'compile-goto-error) (define-key map [follow-link] 'mouse-face) (define-key map "\C-m" 'compile-goto-error) + (define-key map "\M-\C-m" 'push-button) + (define-key map [M-down-mouse-2] 'push-button) + (define-key map [M-mouse-2] 'push-button) map) "Keymap for compilation-message buttons.") (fset 'compilation-button-map compilation-button-map)