Mercurial > hg > xemacs-beta
diff lisp/minibuf.el @ 5473:ac37a5f7e5be
Merge with trunk.
author | Mats Lidell <matsl@xemacs.org> |
---|---|
date | Thu, 17 Mar 2011 23:42:59 +0100 |
parents | 308d34e9f07d ed74d2ca7082 |
children | 4dee0387b9de |
line wrap: on
line diff
--- a/lisp/minibuf.el Tue Feb 22 22:56:02 2011 +0100 +++ b/lisp/minibuf.el Thu Mar 17 23:42:59 2011 +0100 @@ -1819,10 +1819,10 @@ (completion-ignore-case (file-system-ignore-case-p (or dir default-directory))) (env (substring string - (cond ((= start (length string)) + (cond ((eql start (length string)) ;; "...$" start) - ((= (aref string start) ?{) + ((eql (aref string start) ?{) ;; "...${..." (1+ start)) (t @@ -2093,7 +2093,7 @@ ;; any more. --ben (lambda () (mouse-rfn-setup-vars prompt) - (when-boundp #'scrollbar-width + (when-boundp 'scrollbar-width (set-specifier scrollbar-width 0 (current-buffer))) (setq truncate-lines t)))) @@ -2209,7 +2209,7 @@ "Read a non-nil coding-system from the minibuffer. Prompt with string PROMPT." (let ((retval (intern ""))) - (while (= 0 (length (symbol-name retval))) + (while (eql 0 (length (symbol-name retval))) (setq retval (intern (completing-read prompt obarray 'find-coding-system t)))) @@ -2345,7 +2345,7 @@ (single-key-description event)) (ding nil 'y-or-n-p) (discard-input) - (if (= (length pre) 0) + (if (eql (length pre) 0) (setq pre (format "Please answer %s. " ;; 17 parens! a record in ;; our lisp code.