From 1ba0149572ff9841c4838a25358ef08a516976db Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 4 Jun 2015 23:44:38 -0700 Subject: Fix curved quotes in a few places * lisp/calc/calc-misc.el (calc-help): Fix quoting. The strings in question are not doc strings, so this partially undoes the recent change that assumed they were doc strings. * lisp/cedet/srecode/srt-mode.el (srecode-macro-help): * lisp/info.el (Info-finder-find-node): Use curved quotes. * lisp/emacs-lisp/derived.el (derived-mode-make-docstring): Also allow curved quotes in doc strings. --- lisp/emacs-lisp/derived.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/emacs-lisp/derived.el') diff --git a/lisp/emacs-lisp/derived.el b/lisp/emacs-lisp/derived.el index 52da4c99eaf..75bd325d9db 100644 --- 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 ")) -- cgit v1.2.1