;; 函数
(defun my/get-sexp-value (location sexp)
"Location is a list which sign the specific location in sexp."
(let ((value sexp))
(dolist (num location)
(setq value (nth num value)))
value))
gv-define-expander is an autoloaded Lisp macro in ‘gv.el’.
(gv-define-expander NAME HANDLER)
Use HANDLER to handle NAME as a generalized var.
NAME is a symbol: the name of a function, macro, or special form.
HANDLER is a function which takes an argument DO followed by the same
arguments as NAME. DO is a function as defined in ‘gv-get’.