diff options
author | yyamano <yyamano@pkgsrc.org> | 2003-02-12 15:53:09 +0000 |
---|---|---|
committer | yyamano <yyamano@pkgsrc.org> | 2003-02-12 15:53:09 +0000 |
commit | a9e87292b555e0af81091770959c6f9623637705 (patch) | |
tree | a3965430ba9e6d75fda3130be9a3bab02d4ec410 /chat/zenicb/patches | |
parent | 158f2d7434cfed0dda6dfd76fa852c25def5d06f (diff) | |
download | pkgsrc-a9e87292b555e0af81091770959c6f9623637705.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))) + |