[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Annotation] New package: smart-yank.el

From: Michael Heerdegen
Subject: Re: [Annotation] New package: smart-yank.el
Date: Tue, 17 May 2016 03:07:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>    (defalias 'smart-yank-yank-pop
>      (let ((r (smart-yank--stopwatch)))
>        (lambda (&optional arg)
>          "blabla"
>          ...)))

Yes, this is a bit nicer.

> > (define-minor-mode smart-yank-mode
> [...]
> >   :global t :keymap smart-yank-map
> Please name the keymap `smart-yank-mode-map' [...]

Ah, that's the reason why removing the :keymap spec broke the thing when
I had tried it... ;-)

Many Thanks, Stefan!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]