aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorUlf Jasper2011-09-27 21:08:40 +0200
committerUlf Jasper2011-09-27 21:08:40 +0200
commit806b00cb5f5034343709319bc217059fa382df19 (patch)
treebd9f2c6a8b10501c2a0eace70a492c8d969e52e7 /lisp
parent81416b68d8a3f5759806ecdef7eb06779686bc5c (diff)
parent693fbdb629c8cd41253519cf6c68a9b7b7bde493 (diff)
downloademacs-806b00cb5f5034343709319bc217059fa382df19.tar.gz
emacs-806b00cb5f5034343709319bc217059fa382df19.zip
Move test/newsticker-testsuite.el to automated/newsticker-tests.el
2011-09-27 Ulf Jasper <ulf.jasper@web.de> * automated/newsticker-tests.el: Move newsticker-testsuite.el to automated/newsticker-tests.el. Convert to ERT.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog16
-rw-r--r--lisp/mail/smtpmail.el2
-rw-r--r--lisp/minibuffer.el7
-rw-r--r--lisp/pcmpl-cvs.el14
4 files changed, 29 insertions, 10 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 50dccb43b3b..bdf4522c4f5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,19 @@
12011-09-27 Eli Zaretskii <eliz@gnu.org>
2
3 * minibuffer.el (completion-styles)
4 (completion-category-overrides): Cross reference each other in doc
5 strings.
6
72011-09-27 Glenn Morris <rgm@gnu.org>
8
9 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10 to split-string. (Bug#9606)
11
122011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13
14 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15 (bug#9615).
16
12011-09-27 Chong Yidong <cyd@stupidchicken.com> 172011-09-27 Chong Yidong <cyd@stupidchicken.com>
2 18
3 * emacs-lisp/package.el (list-packages): Fix echo area message. 19 * emacs-lisp/package.el (list-packages): Fix echo area message.
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el
index 1c6f2c7b7ed..edcc82011af 100644
--- a/lisp/mail/smtpmail.el
+++ b/lisp/mail/smtpmail.el
@@ -658,7 +658,7 @@ The list is in preference order.")
658 :always-query-capabilities t 658 :always-query-capabilities t
659 :starttls-function 659 :starttls-function
660 (lambda (capabilities) 660 (lambda (capabilities)
661 (and (string-match "-STARTTLS" capabilities) 661 (and (string-match "[ -]STARTTLS" capabilities)
662 "STARTTLS\r\n")) 662 "STARTTLS\r\n"))
663 :client-certificate t 663 :client-certificate t
664 :use-starttls-if-possible t))) 664 :use-starttls-if-possible t)))
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index c6f28b14415..021e46d5053 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -482,7 +482,10 @@ and DOC describes the way this style of completion works.")
482 ;; and simply add "bar" to the end of the result. 482 ;; and simply add "bar" to the end of the result.
483 emacs22) 483 emacs22)
484 "List of completion styles to use. 484 "List of completion styles to use.
485The available styles are listed in `completion-styles-alist'." 485The available styles are listed in `completion-styles-alist'.
486
487Note that `completion-category-overrides' may override these
488styles for specific categories, such as files, buffers, etc."
486 :type `(repeat (choice ,@(mapcar (lambda (x) (list 'const (car x))) 489 :type `(repeat (choice ,@(mapcar (lambda (x) (list 'const (car x)))
487 completion-styles-alist))) 490 completion-styles-alist)))
488 :group 'minibuffer 491 :group 'minibuffer
@@ -490,7 +493,7 @@ The available styles are listed in `completion-styles-alist'."
490 493
491(defcustom completion-category-overrides 494(defcustom completion-category-overrides
492 '((buffer (styles . (basic substring)))) 495 '((buffer (styles . (basic substring))))
493 "List of overrides for specific categories. 496 "List of `completion-styles' overrides for specific categories.
494Each override has the shape (CATEGORY . ALIST) where ALIST is 497Each override has the shape (CATEGORY . ALIST) where ALIST is
495an association list that can specify properties such as: 498an association list that can specify properties such as:
496- `styles': the list of `completion-styles' to use for that category. 499- `styles': the list of `completion-styles' to use for that category.
diff --git a/lisp/pcmpl-cvs.el b/lisp/pcmpl-cvs.el
index b6c5eb62b17..3ff07bca20e 100644
--- a/lisp/pcmpl-cvs.el
+++ b/lisp/pcmpl-cvs.el
@@ -169,13 +169,13 @@ operation character applies, as displayed by 'cvs -n update'."
169 (insert-file-contents (concat dir "CVS/Entries")) 169 (insert-file-contents (concat dir "CVS/Entries"))
170 (goto-char (point-min)) 170 (goto-char (point-min))
171 (while (not (eobp)) 171 (while (not (eobp))
172 (let* ((line (buffer-substring (line-beginning-position) 172 ;; Normal file: /NAME -> "" "NAME"
173 (line-end-position))) 173 ;; Directory : D/NAME -> "D" "NAME"
174 (fields (split-string line "/")) 174 (let* ((fields (split-string (buffer-substring
175 text) 175 (line-beginning-position)
176 (if (eq (aref line 0) ?/) 176 (line-end-position))
177 (setq fields (cons "" fields))) 177 "/"))
178 (setq text (nth 1 fields)) 178 (text (nth 1 fields)))
179 (when text 179 (when text
180 (if (string= (nth 0 fields) "D") 180 (if (string= (nth 0 fields) "D")
181 (setq text (file-name-as-directory text))) 181 (setq text (file-name-as-directory text)))