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

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

bug#66117: 30.0.50; `find-buffer-visiting' is slow when opening large nu


From: Ihor Radchenko
Subject: bug#66117: 30.0.50; `find-buffer-visiting' is slow when opening large number of buffers
Date: Thu, 21 Dec 2023 13:25:58 +0000

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> (let ((test/foo2 t))
>>   (default-value 'test/foo2)) ;; -> t ???
>
> Yup.

Hmm.. Then, what about

(defvar-local let-tests-buffer-local-var 'value)
(with-temp-buffer
  (setq-local let-tests-buffer-local-var 'baz)
  (let ((let-tests-buffer-local-var 'bar))
    ;; This is failing.
    (should (eq 'bar (default-value 'let-tests-buffer-local-var))) 
    (should (eq 'bar let-tests-buffer-local-var))
    (with-temp-buffer
      (should (eq 'bar (default-value 'let-tests-buffer-local-var)))
      (should (eq 'bar let-tests-buffer-local-var)))))

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>





reply via email to

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