# HG changeset patch # User Oleksandr Gavenko # Date 1487109719 -7200 # Node ID 31b541b9ce3e465c6cf64805d5b1301fa2790570 # Parent 34b763cbc5cf402b6bae7d1880bb79d740a1b37b Show message about debug level to be sure without reading documentation. diff -r 34b763cbc5cf -r 31b541b9ce3e .emacs-my --- a/.emacs-my Mon Feb 13 10:25:59 2017 +0200 +++ b/.emacs-my Wed Feb 15 00:01:59 2017 +0200 @@ -79,7 +79,11 @@ ;; Get trace when press C-g. (setq debug-on-quit lvl1) (setq debug-on-event lvl2) - (setq debug-on-signal lvl2))) + (setq debug-on-signal lvl2) + (cond + (lvl2 (message "Debugging on quit/event/signal...")) + (lvl1 (message "Debugging on quit...")) + (t (message "Debugging disabled..."))))) (defun my/eval-buffer () "Evaluate entire buffer with re-assigning values to `defvar' / `defcustom'.