]> code.delx.au - gnu-emacs/blobdiff - lisp/emacs-lisp/syntax.el
Replace completion-base-size by completion-base-position to fix bugs
[gnu-emacs] / lisp / emacs-lisp / syntax.el
index be607c52c68093d10a764f85b3115e6d231d6006..e3adc8df4e0f5cd8dff017bb0cc57d5ce030375b 100644 (file)
@@ -1,7 +1,7 @@
 ;;; syntax.el --- helper functions to find syntactic context
 
 ;; Copyright (C) 2000, 2001, 2002, 2003, 2004,
-;;   2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+;;   2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
 ;; Keywords: internal
@@ -122,7 +122,7 @@ point (where the PPSS is equivalent to nil).")
          syntax-ppss-stats))
 
 (defun syntax-ppss (&optional pos)
-  "Parse-Partial-Sexp State at POS.
+  "Parse-Partial-Sexp State at POS, defaulting to point.
 The returned value is the same as `parse-partial-sexp' except that
 the 2nd and 6th values of the returned state cannot be relied upon.
 Point is at POS when this function returns."