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 --- generic/pg-pbrpm.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'generic/pg-pbrpm.el') diff --git a/generic/pg-pbrpm.el b/generic/pg-pbrpm.el index 619a5d6c..bc95f2ac 100644 --- a/generic/pg-pbrpm.el +++ b/generic/pg-pbrpm.el @@ -377,7 +377,7 @@ Returns (n . s) where (while (and pos l (not found)) (setq start-goal (car l)) (setq end-goal (cadr l)) - (setq goal-name (caddr l)) + (setq goal-name (cl-caddr l)) (setq start-concl (cadddr l)) (setq hyps (car (cddddr l))) (setq l (cdr (cddddr l))) @@ -393,7 +393,7 @@ Returns (n . s) where (while (and hyps (not found)) (setq start-hyp (car hyps)) (setq start-hyp-text (cadr hyps)) - (setq end-hyp (caddr hyps)) + (setq end-hyp (cl-caddr hyps)) (setq hyp-name (cadddr hyps)) (setq hyps (cddddr hyps)) (if (and (<= start-hyp pos) (<= pos end-hyp)) -- cgit v1.2.3