emacs and X resources
Jens Petersen
petersen at redhat.com
Tue Aug 16 07:23:46 UTC 2005
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
More information about the fedora-list
mailing list