]> code.delx.au - gnu-emacs/commitdiff
; * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
authorGlenn Morris <rgm@gnu.org>
Mon, 15 Jun 2015 22:02:33 +0000 (18:02 -0400)
committerGlenn Morris <rgm@gnu.org>
Mon, 15 Jun 2015 22:02:33 +0000 (18:02 -0400)
Fix recent change.

lisp/emacs-lisp/derived.el

index 52ff2aa99a2834ee4d5d15ce715ecaa132f62a3e..ee137f1771ed76b91832da6d99b9f3b2cb7af13c 100644 (file)
@@ -332,7 +332,8 @@ which more-or-less shadow%s %s's corresponding table%s."
                      (concat
                       "\n\nIn addition to any hooks its parent mode "
                       (if (string-match (format "[`‘]%s['’]"
-                                                 (regexp-quote parent))
+                                                 (regexp-quote
+                                                 (symbol-name parent)))
                                         docstring)
                            nil
                         (format "`%s' " parent))