Commit 4d2d1ccd authored by Glenn Morris's avatar Glenn Morris

Replace stack-trace-on-error usage in calendar.

* lisp/calendar/diary-lib.el (diary-sexp-entry):
* lisp/calendar/holidays.el (holiday-sexp):
Set debug-on-error rather than the removed stack-trace-on-error.
parent 61c2b50e
2011-04-17 Glenn Morris <rgm@gnu.org>
* calendar/diary-lib.el (diary-sexp-entry):
* calendar/holidays.el (holiday-sexp):
Set debug-on-error rather than the removed stack-trace-on-error.
2011-04-16 Glenn Morris <rgm@gnu.org>
* progmodes/f90.el: Use lexical-binding.
......
......@@ -1353,7 +1353,7 @@ diary entries."
(defun diary-sexp-entry (sexp entry date)
"Process a SEXP diary ENTRY for DATE."
(let ((result (if calendar-debug-sexp
(let ((stack-trace-on-error t))
(let ((debug-on-error t))
(eval (car (read-from-string sexp))))
(condition-case nil
(eval (car (read-from-string sexp)))
......
......@@ -462,7 +462,7 @@ The holidays are those in the list `calendar-holidays'."
(sort
(dolist (p calendar-holidays res)
(if (setq h (if calendar-debug-sexp
(let ((stack-trace-on-error t))
(let ((debug-on-error t))
(eval p))
(condition-case nil
(eval p)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment