diff options
author | psg <> | 2009-10-24 16:46:01 +0000 |
---|---|---|
committer | psg <> | 2009-10-24 16:46:01 +0000 |
commit | 3d2456809dfe1ab78055301c5effa08736d692ac (patch) | |
tree | 51ddfa7ff7821fab917a200d541dbd451f60177d | |
parent | 63043e9d7e8ecda2209cc920d13e6072258018ad (diff) |
debian-changelog-mode.el: debian-changelog-close-bug does not work properly
under XEmacs 21.4.21 because the arguments passed to replace-in-string in
the inline function debian-chagelog--rris are in the wrong order (Closes:
#476271). (I apologise for losing trrack of this bug for so long).
-rw-r--r-- | debian-changelog-mode.el | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/debian-changelog-mode.el b/debian-changelog-mode.el index c067698..407e4b3 100644 --- a/debian-changelog-mode.el +++ b/debian-changelog-mode.el @@ -4,7 +4,7 @@ ;; Copyright (C) 1997 Klee Dienes ;; Copyright (C) 1999 Chris Waters ;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Peter S Galbraith -;; Copyright (C) 2006, 2007, 2008, Peter S Galbraith +;; Copyright (C) 2006, 2007, Peter S Galbraith ;; ;; This file is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -332,6 +332,11 @@ ;; See http://bugs.debian.org/457047 ;; V1.89 23Feb2009 Jari.aalto@cante.net ;; - finalize date in UTC (User configurable) (Closes: #503700) +;; V1.90 24Oct2009 Rafael Laboissiere <rafael@debian.org> +;; - debian-changelog-close-bug does not work properly under XEmacs 21.4.21 +;; because the arguments passed to replace-in-string in the inline function +;; debian-chagelog--rris are in the wrong order. Closes: #476271 +;; ;;; Acknowledgements: (These people have contributed) ;; Roland Rosenfeld <roland@debian.org> ;; James LewisMoss <dres@ioa.com> @@ -428,7 +433,10 @@ Pass ARGS to `replace-regexp-in-string' (GNU Emacs) or to ;; XEmacs: (if (fboundp 'replace-in-string) (save-match-data ;; apparently XEmacs needs save-match-data - (apply 'replace-in-string args)) + ;; and arguments are in different order. + ;; Patch from Rafael Laboissiere <rafael@debian.org> + ;; Closes: #476271 + (apply 'replace-in-string (list (nth 2 args) (nth 0 args) (nth 1 args)))) ;; Emacs: (apply 'replace-regexp-in-string args))) |