From 7b37ce02a548eff9d97d504edaaf8075ebd236c7 Mon Sep 17 00:00:00 2001 From: Clément Pit-Claudel Date: Sat, 15 Dec 2018 16:18:33 -0500 Subject: Use cl-caddr instead of caddr Hopefully fixes #409. Reported-By: @lysxia --- coq/coq.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coq/coq.el') diff --git a/coq/coq.el b/coq/coq.el index 9fe52532..c7163769 100644 --- a/coq/coq.el +++ b/coq/coq.el @@ -1347,7 +1347,7 @@ redisplayed." (proof-shell-invisible-command (format "Set Printing Width %S." (- wdth 1)) t) (setq coq-shell-current-line-width wdth) ;; Show iff show non nil and some proof is under way - (when (and show (not (null (caddr (coq-last-prompt-info-safe))))) + (when (and show (not (null (cl-caddr (coq-last-prompt-info-safe))))) (proof-shell-invisible-command (format "Show.") t nil 'no-error-display))))) (defun coq-adapt-printing-width-and-show(&optional show width) @@ -1453,7 +1453,7 @@ Maintained by a hook in `proof-shell-handle-delayed-output-hook'.") (positions (cdr hyp-positions)) (begcross (car positions)) (beghypname (cadr positions)) - (endhypname (caddr positions)) + (endhypname (cl-caddr positions)) (beg (cadddr positions)) (end (cadddr (cdr positions)))) (let ((hypnameov (coq-make-hypname-overlay beghypname endhypname fstname buf)) -- cgit v1.2.3