From 07d1f9449bedebd545001a62f1d7eec34b104ced Mon Sep 17 00:00:00 2001 From: William Carroll Date: Tue, 9 Nov 2021 10:43:06 -0800 Subject: fix(wpcarro/emacs): Ensure debug-on-error is globally set I'm still a bit confused about the nuances between the myriad of ways to handle variables in Emacs... - `setq` - `setq-default` - `setq-local` - `defvar` - `defcustom` - `defconst` - `customize-set-variable` - `make-local-variable` - `make-variable-buffer-local` - `kill-local-variable` ...but after running some experiments, this triggers the Emacs debugger when an error is encountered (e.g. either *in* `init.el` or another package that is evaluated during `init.el`'s evaluation). Change-Id: I00d543735b1d816462ba18bad23867865d7af80e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4812 Tested-by: BuildkiteCI Reviewed-by: wpcarro Autosubmit: wpcarro --- users/wpcarro/emacs/.emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) (limited to 'users/wpcarro') diff --git a/users/wpcarro/emacs/.emacs.d/init.el b/users/wpcarro/emacs/.emacs.d/init.el index a54ab18351ca..a87be333c73a 100644 --- a/users/wpcarro/emacs/.emacs.d/init.el +++ b/users/wpcarro/emacs/.emacs.d/init.el @@ -1,4 +1,5 @@ ;; load order is intentional +(setq-default debug-on-error t) (require 'wpc-package) (require 'wpc-misc) (require 'ssh) -- cgit 1.4.1