emacs-devel
[Top][All Lists]
Advanced

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

Re: Package initialization


From: Artur Malabarba
Subject: Re: Package initialization
Date: Sun, 19 Jul 2015 11:11:34 +0100

>> 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))



reply via email to

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