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

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

Re: Bookmarks in EWW


From: Stefan Monnier
Subject: Re: Bookmarks in EWW
Date: Mon, 20 Apr 2020 09:24:04 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> +(byte-defop-compiler-1 make-local-variable
> +                       byte-compile-make-local-variable)
> +(defun byte-compile-make-local-variable (form)
> +  (let ((var-exp (car-safe (cdr-safe form))))
> +    (when (eq 'quote (car-safe var-exp))
> +      (byte-compile--declare-var (car (cdr var-exp)))))
> +  (byte-compile-normal-call form))

LGTM,

[ Tho all those car/cdr messes in bytecomp.el really creep me out.
  It's when working on the compiler that I developed the urge to
  implement `pcase`:
  (pcase form (`(,_ ',v) (byte-compile--declare-var v))) ]


        Stefan




reply via email to

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