branch: master
commit 8e4043a899af78aead072e801899c2a1b5cabc15
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
; * latex.el (LaTeX-completion-parse-args): Use `cl-flet'.
---
latex.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/latex.el b/latex.el
index 85c5c6af..42bbf410 100644
--- a/latex.el
+++ b/latex.el
@@ -7724,7 +7724,7 @@ or `LaTeX-environment-list' and returns it."
;; cases, but will also fail for example in hyperref.el. This
;; decision should revisited at a later stage:
(when (assq 'TeX-arg-conditional arg-list)
- (cl-letf (((symbol-function 'y-or-n-p) #'TeX-always))
+ (cl-flet ((y-or-n-p #'TeX-always))
(while (and arg-list
(setq arg (car arg-list)))
(if (and (listp arg) (eq (car arg) 'TeX-arg-conditional))