[emacs] Patch emacs-terminal to use /usr/bin/emacs (rhbz#635213)

Karel Klíč kklic at fedoraproject.org
Fri Jan 7 12:49:38 UTC 2011


commit 1963a714a15892039972ff03c707e489b47328fd
Author: Karel Klic <kklic at redhat.com>
Date:   Fri Jan 7 13:49:21 2011 +0100

    Patch emacs-terminal to use /usr/bin/emacs (rhbz#635213)

 emacs-terminal.sh |    2 +-
 emacs.spec        |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/emacs-terminal.sh b/emacs-terminal.sh
index caa84cc..bc0592a 100644
--- a/emacs-terminal.sh
+++ b/emacs-terminal.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-exec emacs -Q --eval '(ansi-term "/bin/bash")'
+exec /usr/bin/emacs -Q --eval '(term "/bin/bash")'
diff --git a/emacs.spec b/emacs.spec
index 641e6a4..27b4ece 100644
--- a/emacs.spec
+++ b/emacs.spec
@@ -4,7 +4,7 @@ Summary: GNU Emacs text editor
 Name: emacs
 Epoch: 1
 Version: 23.2
-Release: 13%{?dist}
+Release: 14%{?dist}
 License: GPLv3+
 URL: http://www.gnu.org/software/emacs/
 Group: Applications/Editors
@@ -444,6 +444,9 @@ update-desktop-database &> /dev/null || :
 %{_datadir}/applications/emacs-terminal.desktop
 
 %changelog
+* Thu Jan 6 2011 Karel Klic <kklic at redhat.com> - 1:23.2-14
+- Patch emacs-terminal to use /usr/bin/emacs (rhbz#635213)
+
 * Mon Sep 6 2010 Karel Klic <kklic at redhat.com> - 1:23.2-13
 - Removed transient-mark-mode suggestion from dotemacs.el, as this
   minor mode is enabled by default in recent versions of Emacs


More information about the scm-commits mailing list