projects
/
elisp
/
riece.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplified.
[elisp/riece.git]
/
lisp
/
riece-compat.el
diff --git
a/lisp/riece-compat.el
b/lisp/riece-compat.el
index
d3b9155
..
3e54caf
100644
(file)
--- a/
lisp/riece-compat.el
+++ b/
lisp/riece-compat.el
@@
-19,8
+19,8
@@
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to the
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
;;; Code:
;;; Code:
@@
-48,21
+48,10
@@
(end-of-line)
(point)))
(end-of-line)
(point)))
-(defvar riece-read-passwd
- (if (functionp 'read-passwd)
- #'read-passwd
- (if (load "passwd" t)
- #'read-passwd
- (autoload 'ange-ftp-read-passwd "ange-ftp")
- #'ange-ftp-read-passwd)))
-
+(autoload 'read-passwd "passwd")
+(defvar riece-read-passwd #'read-passwd)
(defun riece-read-passwd (prompt)
(defun riece-read-passwd (prompt)
- (condition-case nil
- (let (inhibit-quit)
- (funcall riece-read-passwd prompt))
- (quit
- (message "%sQuit" prompt)
- 'quit)))
+ (funcall riece-read-passwd prompt))
(if (string-match "0\\{0\\}" "")
(defun riece-make-interval-regexp (regexp min &optional max)
(if (string-match "0\\{0\\}" "")
(defun riece-make-interval-regexp (regexp min &optional max)