emacs-devel
[Top][All Lists]
Advanced

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

Re: Package initialization


From: Eli Zaretskii
Subject: Re: Package initialization
Date: Sun, 19 Jul 2015 19:54:18 +0300

> Date: Sun, 19 Jul 2015 11:11:34 +0100
> From: Artur Malabarba <address@hidden>
> Cc: "Stephen J. Turnbull" <address@hidden>,
>       emacs-devel <address@hidden>
> 
> >> If the user wants to bind an autoloaded command to a key, they can do that
> >> just fine.
> >
> > How without adding something to .emacs?
> 
> 
> ;;;###autoload
> (defun some-command ()
>   ...)
> 
> ;;;###autoload
> (eval-after-load 'lisp-mode
>   '(define-key lisp-mode-map "\C-c\C-k" #'some-command))

Or even just

;;;###autoload (define-key esc-map "$" 'ispell-word)
;;;###autoload
(defun ispell-word (&optional following quietly continue region)
...



reply via email to

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