emacs-from-scratch icon indicating copy to clipboard operation
emacs-from-scratch copied to clipboard

bind: takes a list

Open buhtz opened this issue 3 years ago • 0 comments

https://github.com/daviwil/emacs-from-scratch/blob/5e1f99448e32852277e2d274ce2057d55b8c7aaf/init.el#L202

Hello David, somebody reviewed my init.el which comes from your emacs-from-scratch. He told me that there are missing parenthesis in the :bind section of use-package.

This is your/my current version.


  :bind
  ([remap describe-function] . counsel-describe-function)
  ([remap describe-command] . helpful-command)
  ([remap describe-variable] . counsel-describe-variable)
  ([remap describe-key] . helpful-key))

But it should be

  :bind
  ( ([remap describe-function] . counsel-describe-function)
  ([remap describe-command] . helpful-command)
  ([remap describe-variable] . counsel-describe-variable)
  ([remap describe-key] . helpful-key)) )

Agree or disagree? What would you say? I have no idea! ;) My emacs start without any error messages about missing parenthesis.

buhtz avatar Nov 10 '21 16:11 buhtz