]> git.eshelyaron.com Git - emacs.git/commitdiff
Do perl documentation lookups case-insensitively, like man
authorReuben Thomas <rrt@sc3d.org>
Fri, 14 Oct 2022 11:30:43 +0000 (13:30 +0200)
committerReuben Thomas <rrt@sc3d.org>
Fri, 14 Oct 2022 11:30:43 +0000 (13:30 +0200)
* lisp/progmodes/cperl-mode.el (cperl-perldoc): add -i to the perldoc
command.

lisp/progmodes/cperl-mode.el

index 20a73e238e963e3bbc0cac7b49b28a23a6f49bd0..539b27714907582362f373b3ffae5e12270be58f 100644 (file)
@@ -8323,7 +8323,7 @@ the appropriate statement modifier."
                                  'cperl-short-docs
                                  'variable-documentation))))
         (Man-switches "")
-        (manual-program (if is-func "perldoc -f" "perldoc")))
+         (manual-program (concat "perldoc -i" (if is-func " -f"))))
     (Man-getpage-in-background word)))
 
 ;;;###autoload