Mercurial > emacs
changeset 108923:5173ad363d4b
* emacs-lisp/smie.el (comment-string-strip): Declare function.
(smie-precs-precedence-table): Fix typo in docstring.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 09 Jun 2010 13:40:50 +0200 |
parents | 05ef9c0de767 |
children | 1897051f6da3 40e65e1697a4 |
files | lisp/ChangeLog lisp/emacs-lisp/smie.el |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Wed Jun 09 13:27:56 2010 +0200 +++ b/lisp/ChangeLog Wed Jun 09 13:40:50 2010 +0200 @@ -1,5 +1,8 @@ 2010-06-09 Juanma Barranquero <lekktu@gmail.com> + * emacs-lisp/smie.el (comment-string-strip): Declare function. + (smie-precs-precedence-table): Fix typo in docstring. + * vc-mtn.el (log-edit-extract-headers): Declare function. * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
--- a/lisp/emacs-lisp/smie.el Wed Jun 09 13:27:56 2010 +0200 +++ b/lisp/emacs-lisp/smie.el Wed Jun 09 13:40:50 2010 +0200 @@ -68,6 +68,7 @@ (eval-when-compile (require 'cl)) (defvar comment-continue) +(declare-function comment-string-strip "newcomment" (str beforep afterp)) ;;; Building precedence level tables from BNF specs. @@ -89,7 +90,7 @@ "Compute a 2D precedence table from a list of precedences. PRECS should be a list, sorted by precedence (e.g. \"+\" will come before \"*\"), of elements of the form \(left OP ...) -or (right OP ...) or (nonassoc OP ...) or (assoc OP ...). All operators in +or (right OP ...) or (nonassoc OP ...) or (assoc OP ...). All operators in one of those elements share the same precedence level and associativity." (let ((prec2-table (make-hash-table :test 'equal))) (dolist (prec precs)