emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Sperber <sperber@deinprogramm.de>
To: emacs-orgmode@gnu.org
Subject: PATCH[3/3]: org-element.el: Remove illegal t clause in case
Date: Thu, 30 Aug 2012 09:56:30 +0200	[thread overview]
Message-ID: <y9l1uiorexd.fsf@deinprogramm.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]


This patch (written by Mats Lidell) fixes an error we saw on XEmacs, but
we think it's a bug on GNU Emacs, too.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0003-org-element.el-Remove-illegal-t-clause-in-case.patch --]
[-- Type: text/x-patch, Size: 997 bytes --]

From 516456845f93d2ef7f05c6f7789f8ff4e368f6f6 Mon Sep 17 00:00:00 2001
From: Mats Lidell <matsl@xemacs.org>
Date: Sun, 26 Aug 2012 22:24:15 +0200
Subject: [PATCH 3/3] org-element.el: Remove illegal t clause in case

* lisp/org-element.el (org-element-paragraph-separate): Remove illegal
  t clause in case.
---
 lisp/org-element.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-element.el b/lisp/org-element.el
index 3bf217d..4aeb74c 100644
--- a/lisp/org-element.el
+++ b/lisp/org-element.el
@@ -149,7 +149,7 @@
           "\\|"
           ;; Lists.
           (let ((term (case org-plain-list-ordered-item-terminator
-                        (t "[.)]") (?\) ")") (?. "\\.") (otherwise "[.)]")))
+                        (?\) ")") (?. "\\.") (otherwise "[.)]")))
                 (alpha (and org-alphabetical-lists "\\|[A-Za-z]")))
             (concat "\\(?:[-+*]\\|\\(?:[0-9]+" alpha "\\)" term "\\)"
                     "\\(?:[ \t]\\|$\\)"))
-- 
1.7.0.5


             reply	other threads:[~2012-08-30  8:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30  7:56 Michael Sperber [this message]
2012-08-30  8:28 ` PATCH[3/3]: org-element.el: Remove illegal t clause in case Bastien
2012-08-30  9:04   ` Michael Sperber
2012-08-30 20:53     ` Mats Lidell

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.orgmode.org/

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

  git send-email \
    --in-reply-to=y9l1uiorexd.fsf@deinprogramm.de \
    --to=sperber@deinprogramm.de \
    --cc=emacs-orgmode@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/org-mode.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).