slime icon indicating copy to clipboard operation
slime copied to clipboard

Trying to call undefined slime-update-system-indentation

Open sionescu opened this issue 4 years ago • 0 comments

slime.el tries to do:

  (if (boundp 'common-lisp-system-indentation)
      ;; A table provided by slime-cl-indent.el.
      (slime-update-system-indentation symbol indent packages)

But this fails because common-lisp-system-indentation' is defined in slime-cl-indent.el' whereas slime-update-system-indentation' is defined in slime-indentation.el'

It would be safer to change that way:

--- a/slime.el +++ b/slime.el @@ -7046,7 +7046,7 @@ is setup, unless the user already set one explicitly." (let ((symbol (intern (car info))) (indent (slime-intern-indentation-spec (second info))) (packages (third info)))

  •  (if (boundp 'common-lisp-system-indentation)
    
  •  (if (fboundp 'slime-update-system-indentation)
         ;; A table provided by slime-cl-indent.el.
         (slime-update-system-indentation symbol indent packages)
       ;; Does the symbol have an indentation value that we set?
    

Launchpad Details: #LP1094299 Julien Danjou - 2012-12-28 16:12:58 +0000

sionescu avatar Dec 25 '21 19:12 sionescu