bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Jari Aalto
Subject: bug#2562: [PATCH] 23.0.91; pcmpl-unix.el::pcmpl-ssh-hosts improve docstring
Date: Tue, 03 Mar 2009 20:15:03 +0200

tags patch
thanks

2009-03-03  Jari Aalto  <jari.aalto@cante.net>

        * pcmpl-unix.el (pcmpl-ssh-hosts): Improve docstring to
        mention sshd(8) hashed format.

>From 726c1b9dff18612fff229cf182952796e602a839 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@cante.net>
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 <jari.aalto@cante.net>
---
 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]