[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#418110: documentation at top of pcomplete.el should not tell users to (load "pcmpl-auto")

Package: emacs-snapshot
Version: 1:20070302-1
X-Debbugs-CC: emacs-pretest-bug@gnu.org,johnw@gnu.org
Severity: minor

Hi all, I noticed a minor issue which affects Emacs in Debian, and
which I think also affects upstream Emacs 22.  The documentation at
the top of pcomplete.el[1] says near the beginning:

;; To use pcomplete with shell-mode, for example, you will need the
;; following in your .emacs file:
;;   (load "pcmpl-auto")
;;   (add-hook 'shell-mode-hook 'pcomplete-shell-setup)

But (load "pcmpl-auto") causes Emacs to give the error:

"An error has occurred while loading `/home/j/.emacs':
File error: Cannot open load file, pcmpl-auto
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace."


Remove the line
;;   (load "pcmpl-auto")
from the top-of-file comments; just (add-hook 'shell-mode-hook
'pcomplete-shell-setup) works fine on its own.

Note:  Please use "Reply to All" to reply to this message.

[1] You can view the source online at

Reply to: