help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: elpa package loading problem?


From: José A . Romero L .
Subject: Re: elpa package loading problem?
Date: Mon, 4 Jun 2012 12:18:42 -0700 (PDT)
User-agent: G2/1.0

> (...)
> > apps key, i get: “Symbol's function definition is void: smex”. If i
> (...)

BTW, for smex I've added this to my .emacs:

    (defun jarl/smex ()
      (interactive)
      (condition-case description
          (progn
            (smex-initialize)
            (global-set-key (kbd "M-x") 'smex)
            (global-set-key (kbd "M-X") 'smex-major-mode-commands)
            (global-set-key (kbd "C-c C-c M-x") 'execute-extended-command)
            (smex))
        (error (execute-extended-command))))
    (global-set-key (kbd "M-x") 'jarl/smex)

Cheers,
--
José A. Romero L.
escherdragon at gmail
"We who cut mere stones must always be envisioning cathedrals."
(Quarry worker's creed)



reply via email to

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