]> git.eshelyaron.com Git - emacs.git/commit
Fix the -x switch in non-X builds
authorEli Zaretskii <eliz@gnu.org>
Thu, 10 Aug 2023 07:50:35 +0000 (10:50 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 10 Aug 2023 07:50:35 +0000 (10:50 +0300)
commit063d7d89d7ae053be611f4de3d1baceddf407c07
tree16cb185518ab6f9d73a4e1df2b95418971c30fc0
parent5a7fb0b39b7059e6ff3c9a9e7641c80cf3a48459
Fix the -x switch in non-X builds

* src/emacs.c (main): Move the handling of the -x switch out of
the HAVE_X_WINDOWS condition, and simplify the rest of the code by
avoiding code duplication in HAVE_X_WINDOWS and !HAVE_X_WINDOWS
cases.  (Bug#65048)
src/emacs.c