unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jim Meyering <jim@meyering.net>
To: Emacs development discussions <emacs-devel@gnu.org>
Subject: [PATCH] fix syntax errors in rst.el
Date: Tue, 04 Jan 2011 10:44:12 +0100	[thread overview]
Message-ID: <87d3oddmvn.fsf@meyering.net> (raw)

I tried to bootstrap from the latest in git
[84d4dcb4ef6c259e43a75b5cae2b867c9a8f6fd7] and found that it
failed due to syntax errors.  Here's the fix:

From 5f6489721ef3aa1940bb9703c40eee5edca55359 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Tue, 4 Jan 2011 10:36:39 +0100
Subject: [PATCH] fix syntax errors in rst.el

* textmodes/rst.el (rst-compile-pdf-preview): Add missing close-parens.
(rst-compile-slides-preview): Likewise.
---
 lisp/ChangeLog        |    5 +++++
 lisp/textmodes/rst.el |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9878c27..193b65a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-04  Jim Meyering  <meyering@redhat.com>
+
+	* textmodes/rst.el (rst-compile-pdf-preview): Add missing close-parens.
+	(rst-compile-slides-preview): Likewise.
+
 2011-01-04  Glenn Morris  <rgm@gnu.org>

 	* textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el
index bbeab60..6df94bb 100644
--- a/lisp/textmodes/rst.el
+++ b/lisp/textmodes/rst.el
@@ -3370,7 +3370,7 @@ or of the entire buffer, if the region is not selected."
     (start-process-shell-command "rst-pdf-preview" nil command)
     ;; Note: you could also use (compile command) to view the compilation
     ;; output.
-    ))
+    ))))

 (defvar rst-slides-program "firefox"
   "Program used to preview S5 slides.")
@@ -3388,7 +3388,7 @@ or of the entire buffer, if the region is not selected."
     (start-process-shell-command "rst-slides-preview" nil command)
     ;; Note: you could also use (compile command) to view the compilation
     ;; output.
-    ))
+    ))))


 \f
--
1.7.3.4



             reply	other threads:[~2011-01-04  9:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-04  9:44 Jim Meyering [this message]
2011-01-04 10:12 ` [PATCH] fix syntax errors in rst.el Andreas Schwab
2011-01-04 10:26   ` Jim Meyering

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d3oddmvn.fsf@meyering.net \
    --to=jim@meyering.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).