Trying to call undefined slime-update-system-indentation

Bug #1094299 reported by Julien Danjou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Slime
Confirmed
Undecided
Unassigned

Bug Description

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?

Tags: patch
Stas Boukarev (stassats)
Changed in slime:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.