branch: master commit e59dc5884844851377aafcb7e531c0c419729c12 Author: Artur Malabarba <bruce.connor...@gmail.com> Commit: Artur Malabarba <bruce.connor...@gmail.com>
Fix arg out of range error --- names.el | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/names.el b/names.el index b5f403e..33f41a2 100644 --- a/names.el +++ b/names.el @@ -48,8 +48,9 @@ (setq edebug-inhibit-emacs-lisp-mode-bindings t) ;; And the `C-xX' binds. (defvar global-edebug-prefix) - (when (or (null (boundp 'global-edebug-prefix)) - (eq ?\C-x (elt global-edebug-prefix 0))) + (when (ignore-errors + (or (null (boundp 'global-edebug-prefix)) + (eq ?\C-x (elt global-edebug-prefix 0)))) (setq global-edebug-prefix ""))) (require 'edebug) (require 'bytecomp)