bug#2562: [PATCH] 23.0.91; pcmpl-unix.el::pcmpl-ssh-hosts improve docstring

Jari Aalto <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
tags patch
thanks

2009-03-03  Jari Aalto  <[email protected]>

	* pcmpl-unix.el (pcmpl-ssh-hosts): Improve docstring to
	mention sshd(8) hashed format.
0001-lisp-pcmpl-unix.el-pcmpl-ssh-hosts-improve-docst.patch (text/x-diff, 1 KB)
From 726c1b9dff18612fff229cf182952796e602a839 Mon Sep 17 00:00:00 2001
From: Jari Aalto <[email protected]>
Date: Tue, 3 Mar 2009 20:10:28 +0200
Subject: [PATCH] lisp/pcmpl-unix.el: (pcmpl-ssh-hosts): improve docstring

Signed-off-by: Jari Aalto <[email protected]>
---
 lisp/pcmpl-unix.el |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/lisp/pcmpl-unix.el b/lisp/pcmpl-unix.el
index c12920f..ef7297d 100644
--- a/lisp/pcmpl-unix.el
+++ b/lisp/pcmpl-unix.el
@@ -134,7 +134,10 @@ with the SSH option \"HashKnownHosts no\"."
 ;; http://www.emacswiki.org/cgi-bin/wiki/pcmpl-ssh.el
 
 (defun pcmpl-ssh-hosts ()
-  "Return a list of hosts found in `pcmpl-ssh-known-hosts-file'."
+  "Return a list of hosts found in `pcmpl-ssh-known-hosts-file'.
+
+Note: in case the file is in hashed format as described in
+sshd(8) manual page, this function returns nothing."
   (when (and pcmpl-ssh-known-hosts-file
              (file-readable-p pcmpl-ssh-known-hosts-file))
     (with-temp-buffer
-- 
1.6.1.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.