branch: elpa/pcmpl-args
commit ab9076cf037e75fffb23d7b9d186cb408e149419
Author: kozikow <r.kozikow...@gmail.com>
Commit: kozikow <r.kozikow...@gmail.com>

    Removed man options that were conflicting with MacOSX
---
 pcmpl-args.el | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/pcmpl-args.el b/pcmpl-args.el
index 9ce3db659c..719ebae358 100644
--- a/pcmpl-args.el
+++ b/pcmpl-args.el
@@ -785,7 +785,7 @@ insert its content into the current buffer.")
     ;; line, reducing the number of false positives that result from lines
     ;; starting with `-' that aren't really options.
     (push "MANWIDTH=10000" process-environment)
-    (pcmpl-args-process-file "man" "--nj" "--nh" "--" name)))
+    (pcmpl-args-process-file "man" name)))
 
 (defun pcmpl-args-extract-argspecs-from-manpage (name &rest args)
   "Return a list of argspecs by parsing the manpage identified by NAME.
@@ -3641,10 +3641,6 @@ will print completions for `ls -'."
 ;;   (should (member "--format" (pcmpl-args--debug-all-completions "xargs -d 
'\\n' ls -")))
 ;;   (should (member "across" (pcmpl-args--debug-all-completions "xargs -d 
'\\n' ls --format "))))
 ;;
-;; (ert-deftest pcmpl-args-test-man  ()
-;;   (should (member "--nj" (pcmpl-args--debug-all-completions "man -")))
-;;   (should (member "ascii" (pcmpl-args--debug-all-completions "man 7 a"))))
-;;
 ;; (ert-deftest pcmpl-args-test-bzr  ()
 ;;   (should (member "help" (pcmpl-args--debug-all-completions "bzr ")))
 ;;   (should (member "diff" (pcmpl-args--debug-all-completions "bzr help "))))

Reply via email to