[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using use-package
From: |
Rusi |
Subject: |
Re: using use-package |
Date: |
Tue, 28 Jun 2016 06:02:00 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Tuesday, August 11, 2015 at 2:55:50 AM UTC+5:30, Stefan Monnier wrote:
> > No, you are missing (several) points of use-package.
>
> I didn't miss those points. I was just pointing out that use-package
> won't make it into core as is because too much of it provides ways to do
> things which should be done some other way.
>
>
> Stefan
Returning to this old thread:
I was trying to do:
(global-set-key (kbd "C-x C-b") 'electric-buffer-list)
(define-key electric-buffer-menu-mode-map (kbd "X") 'save-buffers-kill-emacs)
1st line -- ok
2nd naturally gives an error on startup
Symbol's value as variable is void: ...
I finally came to:
(use-package ebuff-menu
:bind (("C-x C-b" . electric-buffer-list)
:map electric-buffer-menu-mode-map
("X" . save-buffers-kill-emacs)))
So what's the correct non-use-package way of doing this?
- Re: using use-package,
Rusi <=
- Re: using use-package, Phillip Lord, 2016/06/28
- Message not available
- Re: using use-package, Rusi, 2016/06/28
- Re: using use-package, Phillip Lord, 2016/06/28
- Re: using use-package, Stefan Monnier, 2016/06/28
- Re: using use-package, Phillip Lord, 2016/06/28
- Re: using use-package, Stefan Monnier, 2016/06/29
- Re: using use-package, Phillip Lord, 2016/06/29
- RE: using use-package, Drew Adams, 2016/06/29
- RE: using use-package, Phillip Lord, 2016/06/29
- Re: using use-package, Stefan Monnier, 2016/06/30