1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00
emacs/lisp/obsolete
Steven Allen b0eaaf7366 More reliably check if a frame is the daemon's initial frame
Frames created when Emacs is running as a daemon may not have the
"client" frame parameter set, e.g., when:

1. Created from the user's init file.
2. Created via "emacsclient -e" (e.g., "emacsclient -e '(make-frame)'").

The "client" parameter simply indicates that the frame was created by
emacsclient directly (or recursively from another emacsclient frame).

Instead, this commit checks if (a) Emacs is running as a daemon and (b)
the target frame is the "terminal frame".  When run as a daemon, Emacs's
terminal frame is always the daemon's initial frame.

* lisp/desktop.el (desktop-clear):
(desktop-restoring-frameset-p):
* lisp/display-fill-column-indicator.el
(display-fill-column-indicator--turn-on):
* lisp/frame.el (frame-notice-user-settings):
* lisp/obsolete/linum.el (linum-on):
* lisp/progmodes/flymake.el (flymake-start):
* lisp/tab-bar.el (tab-bar--update-tab-bar-lines): Fix the "is this the
initial daemon-frame" checks.  (Bug#79686)
2025-10-30 20:27:19 +02:00
..
autoarg.el
autoload.el
bruce.el
cdl.el
cl-compat.el
cl.el
crisp.el
echistory.el
eieio-compat.el
elint.el
eudcb-ph.el
gs.el
gulp.el
hashcash.el
html2text.el
idlw-complete-structtag.el
idlw-help.el
idlw-shell.el
idlw-toolbar.el
idlwave.el
inversion.el
iswitchb.el
kermit.el
landmark.el
linum.el
longlines.el
makesum.el
mantemp.el
messcompat.el
metamail.el
mh-compat.el
netrc.el
nnir.el
package-x.el
pgg-def.el
pgg-gpg.el
pgg-parse.el
pgg-pgp.el
pgg-pgp5.el
pgg.el
ps-def.el
quickurl.el
rfc2368.el
rlogin.el
sb-image.el
starttls.el
thumbs.el
tls.el
tpu-edt.el
tpu-extras.el
tpu-mapper.el
uce.el
url-about.el
url-dired.el
url-ns.el
vc-arch.el
vc-dav.el
vc-mtn.el
vt-control.el
vt100-led.el