[emacs/f18] Really fix #970924

Michael Schwendt mschwendt at fedoraproject.org
Sun Jul 14 21:27:06 UTC 2013


commit cbee6d134dc3b5d82c0fc64f644e5e3bc25d4680
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Sun Jul 14 23:26:48 2013 +0200

    Really fix #970924

 emacs.spec                     |    5 ++++-
 rpm-spec-mode-changelog2.patch |    4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/emacs.spec b/emacs.spec
index a5d7893..5bbd26c 100644
--- a/emacs.spec
+++ b/emacs.spec
@@ -3,7 +3,7 @@ Summary: GNU Emacs text editor
 Name: emacs
 Epoch: 1
 Version: 24.2
-Release: 19%{?dist}
+Release: 20%{?dist}
 License: GPLv3+
 URL: http://www.gnu.org/software/emacs/
 Group: Applications/Editors
@@ -477,6 +477,9 @@ update-desktop-database &> /dev/null || :
 %dir %{_datadir}/emacs/site-lisp/site-start.d
 
 %changelog
+* Sun Jul 14 2013 Michael Schwendt <mschwendt at fedoraproject.org> - 1:24.2-20
+- Really fix #970924
+
 * Tue Jun 11 2013 Petr Hracek <phracek at redhat.com> - 1:24.2-19
 - rpm-goto-add-change-log-entry is not working (#970924)
 
diff --git a/rpm-spec-mode-changelog2.patch b/rpm-spec-mode-changelog2.patch
index 278a650..32506a0 100644
--- a/rpm-spec-mode-changelog2.patch
+++ b/rpm-spec-mode-changelog2.patch
@@ -7,7 +7,7 @@ index 63c37fa..88a7247 100644
    (save-excursion
      (rpm-goto-add-change-log-header)
 +      (while (looking-at "^-")
-+             (forward line))
++             (forward-line))
        (insert "- " change-log-entry "\n")))
  
  (defun rpm-goto-add-change-log-entry ()
@@ -15,7 +15,7 @@ index 63c37fa..88a7247 100644
    (interactive)
    (rpm-goto-add-change-log-header)
 +  (while (looking-at "^-")
-+         (forward line))
++         (forward-line))
    (insert "- \n")
    (end-of-line '0))
  


More information about the scm-commits mailing list