Browse Source

org-table: `org-table-fix-formulas-confirm' is not safe.

* lisp/org-table.el (org-table-fix-formulas-confirm): Funcall'ing
  a symbol is never safe, no matter what the symbol is.
Nicolas Goaziou 6 years ago
parent
commit
c891b840d2
1 changed files with 0 additions and 3 deletions
  1. 0 3
      lisp/org-table.el

+ 0 - 3
lisp/org-table.el

@@ -231,9 +231,6 @@ fields."
 	  (const :tag "with yes-or-no" yes-or-no-p)
 	  (const :tag "with yes-or-no" yes-or-no-p)
 	  (const :tag "with y-or-n" y-or-n-p)
 	  (const :tag "with y-or-n" y-or-n-p)
 	  (const :tag "no confirmation" nil)))
 	  (const :tag "no confirmation" nil)))
-(put 'org-table-fix-formulas-confirm
-     'safe-local-variable
-     #'(lambda (x) (member x '(yes-or-no-p y-or-n-p))))
 
 
 (defcustom org-table-tab-jumps-over-hlines t
 (defcustom org-table-tab-jumps-over-hlines t
   "Non-nil means tab in the last column of a table with jump over a hline.
   "Non-nil means tab in the last column of a table with jump over a hline.