summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/derived.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-06-04 23:44:38 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-06-04 23:54:49 -0700
commit1ba0149572ff9841c4838a25358ef08a516976db (patch)
treec7a38c4bb2ae7a1db5f04529573d78b1a0433410 /lisp/emacs-lisp/derived.el
parent8fb6253c0073aaee5c76762da4356b3c5c56c273 (diff)
downloademacs-1ba0149572ff9841c4838a25358ef08a516976db.tar.gz
emacs-1ba0149572ff9841c4838a25358ef08a516976db.tar.bz2
emacs-1ba0149572ff9841c4838a25358ef08a516976db.zip
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.
Diffstat (limited to 'lisp/emacs-lisp/derived.el')
-rw-r--r--lisp/emacs-lisp/derived.el3
1 files changed, 2 insertions, 1 deletions
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 "))