]> git.eshelyaron.com Git - emacs.git/commitdiff
apropos-library quoting fix
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 28 Jun 2015 20:24:20 +0000 (13:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 28 Jun 2015 20:24:57 +0000 (13:24 -0700)
* lisp/apropos.el (apropos-library): Quote library consistently
with the rest of the quoting used by apropos.

lisp/apropos.el

index 023ba4bb20241587826fe1868597e902c06186f5..0a1bc7b858302338715ac7a2738dc190474a61cb 100644 (file)
@@ -681,7 +681,8 @@ the output includes key-bindings of commands."
       (apropos-symbols-internal
        symbols apropos-do-all
        (concat
-        (format "Library `%s' provides: %s\nand requires: %s"
+        (format (substitute-command-keys
+                 "Library `%s' provides: %s\nand requires: %s")
                 file
                 (mapconcat 'apropos-library-button
                            (or provides '(nil)) " and ")