emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master 1ba0149 1/2: Fix curved quotes in a few places


From: Artur Malabarba
Subject: Re: [Emacs-diffs] master 1ba0149 1/2: Fix curved quotes in a few places
Date: Mon, 15 Jun 2015 16:18:03 +0100

> --- a/lisp/emacs-lisp/derived.el
> +++ b/lisp/emacs-lisp/derived.el
> @@ -331,7 +331,8 @@ which more-or-less shadow%s %s's corresponding table%s."
>                         "\n\nThis mode "
>                       (concat
>                        "\n\nIn addition to any hooks its parent mode "
> -                      (if (string-match (regexp-quote (format "`%s'" parent))
> +                      (if (string-match (regexp-quote (format "[`‘]%s['’]"
> +                                                               parent))
>                                          docstring) nil
>                          (format "`%s' " parent))
>                        "might have run,\nthis mode "))

Is this correct?
I think this regexp-quote was used in case “parent” contains special
characters, but now it's also quoting the [`'] part (which I think is
an accident).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]