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

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

Re: elisp programming - navigate through code?


From: Thien-Thi Nguyen
Subject: Re: elisp programming - navigate through code?
Date: Sat, 29 Mar 2014 22:00:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

() Michael Heerdegen <address@hidden>
() Sat, 29 Mar 2014 19:10:26 +0100

       (let ((sym (symbol-at-point)))
         (funcall (pcase sym
                    ((pred facep)           #'find-face)
                    ((pred symbol-function) #'find-function)
                    (_                      #'find-variable))
                  sym))

Any particular reason you use ‘pcase’ here instead of ‘cond’?

-- 
Thien-Thi Nguyen
   GPG key: 4C807502
   (if you're human and you know it)
      read my lisp: (responsep (questions 'technical)
                               (not (via 'mailing-list)))
                     => nil

Attachment: pgpLFS2FEKbbk.pgp
Description: PGP signature


reply via email to

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