]> git.eshelyaron.com Git - emacs.git/commit
Better handle errors after sync man invocations
authorJens Schmidt <jschmidt4gnu@vodafonemail.de>
Fri, 11 Apr 2025 22:02:56 +0000 (00:02 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 16 Apr 2025 07:35:50 +0000 (09:35 +0200)
commitda2af2e87ac18dbccd8a2500db20db2fe0778377
treebf16c0f3d5a3fe87e822f3ccadbcf8ddc48bd6b8
parentfdd87a515ec428a2b6677311984acf943d23cd39
Better handle errors after sync man invocations

* lisp/man.el (Man-start-calling): Declare as debuggable.
(Man-getpage-in-background): Call `Man-bgproc-sentinel' with a
cons (BUFFER . EXIT-STATUS) as PROCESS argument for synchronous calls.
(Man-bgproc-sentinel): Use that information to handle those more
similarly to asynchronous calls.  Do not employ window selection hacks
for synchronous calls.  (Bug#77755)

(cherry picked from commit f67e64028efd2d2b12126039ffd830e769015910)
lisp/man.el