Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dff5a1edf4 |
@ -75,14 +75,10 @@
|
||||
"Pseudo function used internally by macroexp to delay warnings.
|
||||
--- emacs-27.2/lisp/files.el
|
||||
+++ emacs-27.2/lisp/files.el 2025-03-03 09:20:04.078645249 +0000
|
||||
@@ -591,10 +596,57 @@ buffer contents as untrusted.
|
||||
(other :tag "Query" other))
|
||||
:group 'find-file)
|
||||
@@ -591,6 +596,57 @@ buffer contents as untrusted.
|
||||
Some modes may wish to set this to nil to prevent directory-local
|
||||
settings being applied, but still respect file-local ones.")
|
||||
|
||||
-(defvar enable-dir-local-variables t
|
||||
- "Non-nil means enable use of directory-local variables.
|
||||
-Some modes may wish to set this to nil to prevent directory-local
|
||||
-settings being applied, but still respect file-local ones.")
|
||||
+(defcustom trusted-content nil
|
||||
+ "List of files and directories whose content we trust.
|
||||
+Be extra careful here since trusting means that Emacs might execute the
|
||||
@ -134,9 +130,9 @@
|
||||
+ (string-prefix-p tf file)))
|
||||
+ (setq trusted t)))
|
||||
+ trusted))))))))
|
||||
|
||||
;; This is an odd variable IMO.
|
||||
;; You might wonder why it is needed, when we could just do:
|
||||
;; (set (make-local-variable 'enable-local-variables) nil)
|
||||
--- emacs-27.2/lisp/ielm.el
|
||||
+++ emacs-27.2/lisp/ielm.el 2025-03-03 09:18:41.372169725 +0000
|
||||
@@ -616,7 +616,8 @@ See `inferior-emacs-lisp-mode' for detai
|
||||
|
||||
@ -5,7 +5,7 @@ Summary: GNU Emacs text editor
|
||||
Name: emacs
|
||||
Epoch: 1
|
||||
Version: 26.1
|
||||
Release: 14%{?dist}
|
||||
Release: 15%{?dist}
|
||||
License: GPLv3+ and CC0-1.0
|
||||
URL: http://www.gnu.org/software/emacs/
|
||||
Group: Applications/Editors
|
||||
@ -483,6 +483,9 @@ fi
|
||||
%dir %{_datadir}/emacs/site-lisp/site-start.d
|
||||
|
||||
%changelog
|
||||
* Wed May 21 2025 Jacek Migacz <jmigacz@redhat.com> - 1:26.1-15
|
||||
- Restore definition of variable "enable-dir-local-variables" (RHEL-92830)
|
||||
|
||||
* Mon May 05 2025 Jacek Migacz <jmigacz@redhat.com> - 1:26.1-14
|
||||
- Fix arbitrary code execution via Lisp macro expansion (RHEL-69394)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user