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

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

bug#70819: [PATCH v2] Make clone-indirect-buffer-other-window use other


From: martin rudalics
Subject: bug#70819: [PATCH v2] Make clone-indirect-buffer-other-window use other window (bug#70819)
Date: Tue, 28 May 2024 10:04:19 +0200
User-agent: Mozilla Thunderbird

> -  (let ((pop-up-windows t))
> -    (clone-indirect-buffer newname display-flag norecord)))
> +  ;; For compatibility, don't display the buffer if display-flag is nil.
> +  (let ((buffer (clone-indirect-buffer newname nil norecord)))
> +    (when display-flag
> +      (switch-to-buffer-other-window buffer norecord))))

Looks good to me.

Thank you, martin





reply via email to

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