mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
jupyter--encode: Fix malformed cl-letf
This commit is contained in:
parent
160d6bd9ae
commit
3c7e394a8b
1 changed files with 3 additions and 2 deletions
|
@ -159,8 +159,9 @@ return the result."
|
|||
(let ((original (if (fboundp 'json--print)
|
||||
#'json--print
|
||||
#'json-encode)))
|
||||
(cl-letf (((symbol-function original))
|
||||
(apply-partially #'jupyter--json-encode original))
|
||||
(cl-letf (((symbol-function original)
|
||||
(apply-partially #'jupyter--json-encode
|
||||
(symbol-function original))))
|
||||
(encode-coding-string
|
||||
(cond
|
||||
((stringp part) part)
|
||||
|
|
Loading…
Add table
Reference in a new issue