[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 19a3b499f84: ; * lisp/loadup.el: Don't prohibit advice when l
From: |
Stefan Monnier |
Subject: |
Re: master 19a3b499f84: ; * lisp/loadup.el: Don't prohibit advice when ls-lisp is loaded. |
Date: |
Tue, 05 Dec 2023 18:20:19 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> +(unless (featurep 'ls-lisp)
> + ;; Actively disallow advised functions during preload since:
> + ;; - advices in Emacs's core are generally considered bad style;
> + ;; - `Snarf-documentation' looses docstrings of primitives advised
> + ;; during preload (bug#66032#20).
> + ;;
> + ;; Don't verify this under MS-Windows and Android, both systems that
> + ;; load ls-lisp, which advises insert-directory.
How 'bout we fix this as well?
IOW, merge `insert-directory` and `ls-lisp--insert-directory`
by allowing `insert-directory-program` to be nil
(as a replacement for the `ls-lisp-use-insert-directory-program`
boolean) in which case we use the ls-lisp code?
Stefan
- Re: master 19a3b499f84: ; * lisp/loadup.el: Don't prohibit advice when ls-lisp is loaded.,
Stefan Monnier <=
Re: master 19a3b499f84: ; * lisp/loadup.el: Don't prohibit advice when ls-lisp is loaded., Jens Schmidt, 2023/12/06