[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/pkg 2100df9f5b0 2/2: Handle package-prefixes like lexical-bindin
|
From: |
Gerd Moellmann |
|
Subject: |
scratch/pkg 2100df9f5b0 2/2: Handle package-prefixes like lexical-binding |
|
Date: |
Thu, 20 Jul 2023 09:36:28 -0400 (EDT) |
branch: scratch/pkg
commit 2100df9f5b0766c74056a9bb0f1bd04d5b55a5ef
Author: Gerd Möllmann <gerd@gnu.org>
Commit: Gerd Möllmann <gerd@gnu.org>
Handle package-prefixes like lexical-binding
* lisp/files.el (toplevel):
* lisp/files.el (permanently-enabled-local-variables): Add
package-prefixes.
* src/.lldbinit: Add a useful breakpoint
---
lisp/files.el | 6 ++++--
src/.lldbinit | 9 ++++++---
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/lisp/files.el b/lisp/files.el
index 377ed1b8a0b..068d0576296 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3676,7 +3676,8 @@ asking you for confirmation."
(left-margin . integerp) ;; C source code
(inhibit-compacting-font-caches . booleanp) ;; C source code
(no-update-autoloads . booleanp)
- (lexical-binding . booleanp) ;; C source code
+ (lexical-binding . booleanp) ;; C source code
+ (package-prefixes . booleanp) ;; C source code
(tab-width . integerp) ;; C source code
(truncate-lines . booleanp) ;; C source code
(word-wrap . booleanp) ;; C source code
@@ -3714,7 +3715,8 @@ function is allowed to change the contents of this alist.
This hook is called only if there is at least one file-local
variable to set.")
-(defvar permanently-enabled-local-variables '(lexical-binding)
+(defvar permanently-enabled-local-variables
+ '(lexical-binding package-prefixes)
"A list of file-local variables that are always enabled.
This overrides any `enable-local-variables' setting.")
diff --git a/src/.lldbinit b/src/.lldbinit
index f82430a2e6a..aae70b30ccc 100644
--- a/src/.lldbinit
+++ b/src/.lldbinit
@@ -32,8 +32,11 @@ command script import emacs_lldb
# b xsignal
b pkg_break
-b pkg_error
-b Fpkg_read
-
+#b pkg_error
+#b Fpkg_read
+# To find out from where macOS prints stuff to stderr, like
+# 023-07-20 13:41:17.073449+0200 emacs[53072:1205906] [default]
+# CGSWindowShmemCreateWithPort failed on port 0
+# b libsystem_trace.dylib``_os_log_error_impl
# end.