branch: elpa/pcmpl-args
commit f06b973c67870edec7df5d54a41ec267d688e887
Merge: 2ba03b3125 ab9076cf03
Author: Jonathan Waltman <jonathan.walt...@gmail.com>
Commit: GitHub <nore...@github.com>

    Merge pull request #1 from kozikow/master
    
    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