]> code.delx.au - gnu-emacs-elpa/commitdiff
Tweak docstring of el-search--ensure-sexp-start
authorMichael Heerdegen <michael_heerdegen@web.de>
Wed, 2 Mar 2016 09:12:20 +0000 (10:12 +0100)
committerMichael Heerdegen <michael_heerdegen@web.de>
Wed, 2 Mar 2016 09:12:20 +0000 (10:12 +0100)
packages/el-search/el-search.el

index fc9f2bf15caa55bdbb326e3ebb72457791dfe0fb..dea74b280985e240bf781b64d57e6c97296b4696 100644 (file)
@@ -327,9 +327,10 @@ If nil, the value of `case-fold-search' is decisive."
   (or (scan-sexps (point) 1) (point-max)))
 
 (defun el-search--ensure-sexp-start ()
-  "Move point to the beginning of the next sexp if necessary.
-Don't move if already at beginning of a sexp.
-Point must not be inside a string or comment."
+  "Move point to the next sexp beginning position.
+Don't move if already at beginning of a sexp.  Point must not be
+inside a string or comment.  `read' the expression at that point
+and return it."
   (let ((not-done t) res)
     (while not-done
       (let ((stop-here nil)