Re: emacs and X resources

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

 



Braden McDaniel wrote:
> Since installing Fedora Core 4 (over Fedora Core 3, where this was
> working), emacs seems to ignore X resources (as set in ~/.Xresources).
> Anyone know why this might be? My ~/.emacs is the default one.

This is due to the wrapper script added in FC4 and has been fixed in FC devel
(rawhide btw).  The simple patch below should fix the problem.

Hth, Jens


--- /usr/bin/emacs~	2005-08-16 16:22:15.000000000 +0900
+++ /usr/bin/emacs	2005-08-16 16:22:15.000000000 +0900
@@ -3,7 +3,7 @@
 PROG_NAME=`basename $0`

 for i in x nox; do
-  [ -x "/usr/bin/${PROG_NAME}-$i" ] && exec /usr/bin/${PROG_NAME}-$i -a
${PROG_NAME} "$@"
+  [ -x "/usr/bin/${PROG_NAME}-$i" ] && exec -a ${PROG_NAME}
/usr/bin/${PROG_NAME}-$i "$@"
 done

 echo "Can't find $PROG_NAME" 1>&2


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux