]> code.delx.au - gnu-emacs/commitdiff
(risky-local-variable-p): Match ...-bindat-spec.
authorRichard M. Stallman <rms@gnu.org>
Fri, 8 Sep 2006 11:58:46 +0000 (11:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 8 Sep 2006 11:58:46 +0000 (11:58 +0000)
lisp/files.el

index a96ba9776ef71f5d818d8ee72d11df7853b0ee7a..642bd2d9372f6aefcc0f23a0767e27d836250dde 100644 (file)
@@ -2696,8 +2696,8 @@ It is dangerous if either of these conditions are met:
 
  * Its name ends with \"hook(s)\", \"function(s)\", \"form(s)\", \"map\",
    \"program\", \"command(s)\", \"predicate(s)\", \"frame-alist\",
-   \"mode-alist\", \"font-lock-(syntactic-)keyword*\", or
-   \"map-alist\"."
+   \"mode-alist\", \"font-lock-(syntactic-)keyword*\",
+   \"map-alist\", or \"bindat-spec\"."
   ;; If this is an alias, check the base name.
   (condition-case nil
       (setq sym (indirect-variable sym))
@@ -2706,7 +2706,7 @@ It is dangerous if either of these conditions are met:
       (string-match "-hooks?$\\|-functions?$\\|-forms?$\\|-program$\\|\
 -commands?$\\|-predicates?$\\|font-lock-keywords$\\|font-lock-keywords\
 -[0-9]+$\\|font-lock-syntactic-keywords$\\|-frame-alist$\\|-mode-alist$\\|\
--map$\\|-map-alist$" (symbol-name sym))))
+-map$\\|-map-alist$\\|-bindat-spec$" (symbol-name sym))))
 
 (defun hack-one-local-variable-quotep (exp)
   (and (consp exp) (eq (car exp) 'quote) (consp (cdr exp))))