Mercurial > hg > xemacs-beta
diff lisp/mu/mu-cite.el @ 18:d95e72db5c07 r19-15b92
Import from CVS: tag r19-15b92
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:49:43 +0200 |
parents | 0293115a14e9 |
children | e04119814345 |
line wrap: on
line diff
--- a/lisp/mu/mu-cite.el Mon Aug 13 08:49:21 2007 +0200 +++ b/lisp/mu/mu-cite.el Mon Aug 13 08:49:43 2007 +0200 @@ -6,7 +6,7 @@ ;; MINOURA Makoto <minoura@netlaputa.or.jp> ;; Shuhei KOBAYASHI <shuhei-k@jaist.ac.jp> ;; Maintainer: Shuhei KOBAYASHI <shuhei-k@jaist.ac.jp> -;; Version: $Revision: 1.4 $ +;; Version: $Revision: 1.5 $ ;; Keywords: mail, news, citation ;; This file is part of MU (Message Utilities). @@ -54,14 +54,14 @@ ;;; (defconst mu-cite/RCS-ID - "$Id: mu-cite.el,v 1.4 1997/02/02 05:05:45 steve Exp $") + "$Id: mu-cite.el,v 1.5 1997/02/04 02:36:02 steve Exp $") (defconst mu-cite/version (get-version-string mu-cite/RCS-ID)) ;;; @ formats ;;; -(defvar mu-cite/cited-prefix-regexp "\\(^[^ \t\n>]+>+[ \t]*\\|^[ \t]*$\\)" +(defvar mu-cite/cited-prefix-regexp "\\(^[^ \t\n<>]+>+[ \t]*\\|^[ \t]*$\\)" "*Regexp to match the citation prefix. If match, mu-cite doesn't insert citation prefix.") @@ -390,10 +390,13 @@ ;;; @ message editing utilities ;;; - + (defvar citation-mark-chars ">}|" "*String of characters for citation delimiter. [mu-cite.el]") +(defvar citation-disable-chars "<{" + "*String of characters not allowed as citation-prefix.") + (defun detect-paragraph-cited-prefix () (save-excursion (goto-char (point-min)) @@ -435,8 +438,10 @@ prefix))) ((progn (goto-char (point-max)) - (re-search-backward (concat "[" citation-mark-chars "]") - nil t) + (re-search-backward + (concat "[" citation-disable-chars "]") nil t) + (re-search-backward + (concat "[" citation-mark-chars "]") nil t) ) (goto-char (match-end 0)) (if (looking-at "[ \t]+")