aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2024-06-22 13:38:53 +0300
committerEli Zaretskii2024-06-22 13:40:11 +0300
commit75fdeef7b494b0acffb69822ff9bec148140de16 (patch)
tree643c5198144b2dae334a18e90a3cde2861488129
parentfb1b188e1ada59848b82c961e32212f6340bad28 (diff)
downloademacs-75fdeef7b494b0acffb69822ff9bec148140de16.tar.gz
emacs-75fdeef7b494b0acffb69822ff9bec148140de16.zip
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)
-rw-r--r--lisp/progmodes/compile.el3
1 files changed, 3 insertions, 0 deletions
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."
2292 (define-key map [mouse-2] 'compile-goto-error) 2292 (define-key map [mouse-2] 'compile-goto-error)
2293 (define-key map [follow-link] 'mouse-face) 2293 (define-key map [follow-link] 'mouse-face)
2294 (define-key map "\C-m" 'compile-goto-error) 2294 (define-key map "\C-m" 'compile-goto-error)
2295 (define-key map "\M-\C-m" 'push-button)
2296 (define-key map [M-down-mouse-2] 'push-button)
2297 (define-key map [M-mouse-2] 'push-button)
2295 map) 2298 map)
2296 "Keymap for compilation-message buttons.") 2299 "Keymap for compilation-message buttons.")
2297(fset 'compilation-button-map compilation-button-map) 2300(fset 'compilation-button-map compilation-button-map)