diff options
author | yyamano <yyamano> | 2003-02-12 15:53:09 +0000 |
---|---|---|
committer | yyamano <yyamano> | 2003-02-12 15:53:09 +0000 |
commit | a29774a3faba1e227f340fec57d98e5c1d5697a8 (patch) | |
tree | a3965430ba9e6d75fda3130be9a3bab02d4ec410 /chat/zenicb/patches | |
parent | 4307b37d7cb29deefdb591e65f33e2b4c237e7d3 (diff) | |
download | pkgsrc-a29774a3faba1e227f340fec57d98e5c1d5697a8.tar.gz |
Don't set a non exixtent function to read-passwd on FSF Emacs 20.x
or later (They actually have read-passwd).
Diffstat (limited to 'chat/zenicb/patches')
-rw-r--r-- | chat/zenicb/patches/patch-ab | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/chat/zenicb/patches/patch-ab b/chat/zenicb/patches/patch-ab new file mode 100644 index 00000000000..90dd978db24 --- /dev/null +++ b/chat/zenicb/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.1 2003/02/12 15:53:09 yyamano Exp $ + +--- src/zenicb-example.el.orig Mon Jul 20 07:12:55 1998 ++++ src/zenicb-example.el +@@ -89,10 +89,11 @@ + ;;; insert time-stamps into the buffer at least every 10 minutes. + (load-library "zenicb-stamp") + +-;;; fsf emacs doesn't have read-passwd ++;;; fsf emacs 18.x and 19.x don't have read-passwd + (cond ((= (string-to-int emacs-version) 18) + (fset 'read-passwd 'read-from-minibuffer)) +- ((not (string-match "XEmacs" emacs-version)) ++ ((and (not (string-match "XEmacs" emacs-version)) ++ (= (string-to-int emacs-version) 19)) + (require 'ange-ftp) + (fset 'read-passwd 'ange-ftp-read-passwd))) + |