diff --git a/features/support/env.el b/features/support/env.el index 7af174c..88c334b 100644 --- a/features/support/env.el +++ b/features/support/env.el @@ -34,17 +34,3 @@ (setq load-prefer-newer t) - - -;; This fixes an issue in emacs 25.1 where the debugger would be invoked -;; incorrectly, breaking ert. -(when (and (= emacs-major-version 25) (< emacs-minor-version 2)) - (require 'cl-preloaded) - (setf (symbol-function 'cl--assertion-failed) - (lambda (form &optional string sargs args) - "This function has been modified by espuds to remove an incorrect manual call -to the debugger in emacs 25.1. The modified version should only be used for -running the espuds tests." - (if string - (apply #'error string (append sargs args)) - (signal 'cl-assertion-failed `(,form ,@sargs))))))