[Top][All Lists]

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

Re: Help with my first elisp

From: Greg Minshall
Subject: Re: Help with my first elisp
Date: Mon, 23 May 2022 09:46:09 -0700


> (defun salto ()
>   (interactive)
>   (if posicion 1
>     (posicion2)
>       (if posicion 2
>       (posicion3)
>         (if posicion 3
>         (posicion1)))))

your function =salto= may be using =if= incorrectly.  try marking that
=defun= and hitting TAB to justify it.  my guess is, that's not what you

> ;; (define-key global-map (kbd "SPC") #'salto)
> (local-set-key "j" 'posicion1)
> (local-set-key "k" 'posicion2)
> (local-set-key "l" 'posicion3)
> ))

maybe use something like

>>              (define-key mh-letter-mode-map
>>               (kbd "C-c s")
>>               'ggm-mh-sentaddrs-completion)

but, using whatever the name of the logos-focus mode map, pointing at
your functions?

cheers, Greg

reply via email to

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