aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastien Guerry <[email protected]>2012-09-11 16:06:33 +0200
committerBastien Guerry <[email protected]>2012-09-11 16:06:33 +0200
commit96d0357142bf277e6eb4d957a59b2c655034e2b7 (patch)
tree37c9a9bfc157ee13a8d2fb88eb3a2029641e8d59
parent04e8abfa697ebab5303e0426ba3d1c5abe133a16 (diff)
* minibuffer.el (completion-table-subvert): Fix docstring. (bug#12347)
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/minibuffer.el6
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2319aa87f2..5864f61403 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,6 +1,11 @@
2012-09-11 Bastien Guerry <[email protected]>
- * help-fns.el (describe-variable): Fix typo.
+ * minibuffer.el (completion-table-subvert): Fix docstring.
+ (bug#12347)
+
+2012-09-11 Bastien Guerry <[email protected]>
+
+ * help-fns.el (describe-variable): Fix typo. (bug#12346)
2012-09-10 Michael R. Mauger <[email protected]>
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index a696fff7dc..669ea58656 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -211,10 +211,10 @@ case sensitive instead."
(complete-with-action action table string pred))))
(defun completion-table-subvert (table s1 s2)
- "Completion table that replaces the prefix S1 with S2 in STRING.
+ "Return a completion table from TABLE with S1 replaced by S2.
The result is a completion table which completes strings of the
-form (concat S1 S) in the same way as TABLE completes strings of
-the form (concat S2 S)."
+form (concat S2 S) in the same way as TABLE completes strings of
+the form (concat S1 S)."
(lambda (string pred action)
(let* ((str (if (eq t (compare-strings string 0 (length s1) s1 nil nil
completion-ignore-case))