summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/regexp-opt.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-08-15 00:28:23 +0800
committerChong Yidong <cyd@gnu.org>2012-08-15 00:28:23 +0800
commit55802e4a3dc1d6b1ffa05c193cdd94f9f69c1a41 (patch)
treeadc01d112307b091888d9e61c4b5c38590593ab5 /lisp/emacs-lisp/regexp-opt.el
parente38b9db247bec5413de0cd1001d376941a59ba29 (diff)
downloademacs-55802e4a3dc1d6b1ffa05c193cdd94f9f69c1a41.tar.gz
emacs-55802e4a3dc1d6b1ffa05c193cdd94f9f69c1a41.tar.bz2
emacs-55802e4a3dc1d6b1ffa05c193cdd94f9f69c1a41.zip
Doc fixes.
* lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix. * src/chartab.c (Fmap_char_table): Doc fix. * src/editfns.c (Fformat): Doc fix. Fixes: debbugs:12059 debbugs:12085 debbugs:12061
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
-rw-r--r--lisp/emacs-lisp/regexp-opt.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/regexp-opt.el b/lisp/emacs-lisp/regexp-opt.el
index 72e3c398dc0..8c64327c0ff 100644
--- a/lisp/emacs-lisp/regexp-opt.el
+++ b/lisp/emacs-lisp/regexp-opt.el
@@ -234,7 +234,8 @@ Merges keywords to avoid backtracking in Emacs's regexp matcher."
(defun regexp-opt-charset (chars)
- "Return a regexp to match a character in CHARS."
+ "Return a regexp to match a character in CHARS.
+CHARS should be a list of characters."
;; The basic idea is to find character ranges. Also we take care in the
;; position of character set meta characters in the character set regexp.
;;