[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68200: File local byte-compile-dynamic-docstrings:nil ignored (was:
From: |
Michael Heerdegen |
Subject: |
bug#68200: File local byte-compile-dynamic-docstrings:nil ignored (was: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation') |
Date: |
Wed, 10 Jan 2024 04:28:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Alan Mackenzie <acm@muc.de> writes:
> You've almost certainly written your own patch for it by now, but
> nevertheless, could I ask you to try out this patch. I don't have a
> convenient test case here.
>
> diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
> index 2bc8d54ba77..ad8d53d01e9 100644
> --- a/lisp/emacs-lisp/bytecomp.el
> +++ b/lisp/emacs-lisp/bytecomp.el
> @@ -2605,9 +2605,10 @@ byte-compile-output-docform
> `defvaralias', `autoload' and `custom-declare-variable' need that."
> ;; We need to examine byte-compile-dynamic-docstrings
> ;; in the input buffer (now current), not in the output buffer.
> - (let ((byte-compile-dynamic-docstrings byte-compile-dynamic-docstrings))
> + (let ((dynamic-docstrings byte-compile-dynamic-docstrings))
> (with-current-buffer byte-compile--outbuffer
> - (let ((position (point))
> + (let ((byte-compile-dynamic-docstrings dynamic-docstrings)
> + (position (point))
Yes, that's what I tried as well. This approach seems to fix this
problem here, so: fine by me.
Thanks,
Michael.
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', (continued)
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Michael Heerdegen, 2024/01/01
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Eli Zaretskii, 2024/01/02
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Michael Heerdegen, 2024/01/06
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Gerd Möllmann, 2024/01/07
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Eli Zaretskii, 2024/01/07
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Michael Heerdegen, 2024/01/07
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Michael Heerdegen, 2024/01/07
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Alan Mackenzie, 2024/01/08
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Michael Heerdegen, 2024/01/08
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Alan Mackenzie, 2024/01/09
- bug#68200: File local byte-compile-dynamic-docstrings:nil ignored (was: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation'),
Michael Heerdegen <=
- bug#68200: File local byte-compile-dynamic-docstrings:nil ignored (was: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation'), Alan Mackenzie, 2024/01/11
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Eli Zaretskii, 2024/01/09
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Alan Mackenzie, 2024/01/11
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Eli Zaretskii, 2024/01/11
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Alan Mackenzie, 2024/01/11
- bug#68200: 30.0.50; Emacs reloads init file when calling `documentation', Stefan Kangas, 2024/01/11