Emacs-Kotlin-Mode-Maintainers/kotlin-mode

Please remove obsolete 'default-tab-width' variable.

kawabata opened this issue · 2 comments

There is a line

(defcustom kotlin-tab-width default-tab-width

which causes an error in currently developing Emacs 26, as
'default-tab-width' is obsolete since Emacs 23 and will be removed
in upcoming Emacs 26.

I hope 'default-tab-width' would be changed to "tab-width" instead,
as mentioned in current Emacs 25 'default-tab-width' documentation.

+1 as this causes issues if you use emacs built from HEAD. I had to add a line to my .emacs for it to install.

;; kotlin-mode wants this set
(setq default-tab-width 4)
(use-package kotlin-mode
  :config
  :pin melpa
  )

Fixed via ebcf6f3