diff options
| author | Glenn Morris | 2007-11-01 07:08:24 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-11-01 07:08:24 +0000 |
| commit | 68013cfaa57f810dedd0a7624ad8aae1e71fe4b7 (patch) | |
| tree | 47e1d7815904e203cbae975f165d2165111319e5 | |
| parent | 869dc29056853986b3339f1ded30c8901dbb411c (diff) | |
| download | emacs-68013cfaa57f810dedd0a7624ad8aae1e71fe4b7.tar.gz emacs-68013cfaa57f810dedd0a7624ad8aae1e71fe4b7.zip | |
(authors-scan-change-log)
(authors-scan-el): Don't enable local eval; enable only safe local
variables, without querying.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/emacs-lisp/authors.el | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cf6bca5c8bb..f01bd382265 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -17,6 +17,10 @@ | |||
| 17 | 17 | ||
| 18 | * doc-view.el (doc-view-cache-directory): Remove superfluous concat. | 18 | * doc-view.el (doc-view-cache-directory): Remove superfluous concat. |
| 19 | 19 | ||
| 20 | * emacs-lisp/authors.el (authors-scan-change-log) | ||
| 21 | (authors-scan-el): Don't enable local eval; enable only safe local | ||
| 22 | variables, without querying. | ||
| 23 | |||
| 20 | * mail/footnote.el (footnote-numeric-regexp) | 24 | * mail/footnote.el (footnote-numeric-regexp) |
| 21 | (footnote-english-upper-regexp, footnote-english-lower-regexp) | 25 | (footnote-english-upper-regexp, footnote-english-lower-regexp) |
| 22 | (footnote-roman-lower-regexp, footnote-roman-upper-regexp): | 26 | (footnote-roman-lower-regexp, footnote-roman-upper-regexp): |
diff --git a/lisp/emacs-lisp/authors.el b/lisp/emacs-lisp/authors.el index 4b490621f51..50d2f41f7ae 100644 --- a/lisp/emacs-lisp/authors.el +++ b/lisp/emacs-lisp/authors.el | |||
| @@ -475,8 +475,8 @@ with the file and the number of each action. | |||
| 475 | :wrote means the author wrote the file | 475 | :wrote means the author wrote the file |
| 476 | :changed means he changed the file COUNT times." | 476 | :changed means he changed the file COUNT times." |
| 477 | 477 | ||
| 478 | (let* ((enable-local-variables t) | 478 | (let* ((enable-local-variables :safe) |
| 479 | (enable-local-eval t) | 479 | (enable-local-eval nil) |
| 480 | (existing-buffer (get-file-buffer log-file)) | 480 | (existing-buffer (get-file-buffer log-file)) |
| 481 | (buffer (find-file-noselect log-file)) | 481 | (buffer (find-file-noselect log-file)) |
| 482 | author file pos) | 482 | author file pos) |
| @@ -521,8 +521,8 @@ with the file and the number of each action. | |||
| 521 | "Scan Lisp file FILE for author information. | 521 | "Scan Lisp file FILE for author information. |
| 522 | TABLE is a hash table to add author information to." | 522 | TABLE is a hash table to add author information to." |
| 523 | (let* ((existing-buffer (get-file-buffer file)) | 523 | (let* ((existing-buffer (get-file-buffer file)) |
| 524 | (enable-local-variables t) | 524 | (enable-local-variables :safe) |
| 525 | (enable-local-eval t) | 525 | (enable-local-eval nil) |
| 526 | (buffer (find-file-noselect file))) | 526 | (buffer (find-file-noselect file))) |
| 527 | (save-excursion | 527 | (save-excursion |
| 528 | (set-buffer buffer) | 528 | (set-buffer buffer) |