summaryrefslogtreecommitdiffstats
path: root/2023/talks/flat.md
diff options
context:
space:
mode:
Diffstat (limited to '2023/talks/flat.md')
-rw-r--r--2023/talks/flat.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/2023/talks/flat.md b/2023/talks/flat.md
index 6c2d8037..c18df9ed 100644
--- a/2023/talks/flat.md
+++ b/2023/talks/flat.md
@@ -27,9 +27,9 @@ activities.
## Questions and answers
- Q: Do you plan to upstream this style into core Emacs?
- - A: It\'s in core emacs
+ - A: It's in core emacs
- Q: How difficult is it to modify face styles like this internally?
- - A: It\'s very simple, just set the :style of the :box face
+ - A: It's very simple, just set the :style of the :box face
attribute.
- Q: How much work was involved in implementing this style internally
in Emacs core?
@@ -38,15 +38,15 @@ activities.
- A: 
- (defun flat-style(theme &rest args)
-   (custom-set-faces
- -    \`(mode-line
+ -    `(mode-line
-      ((t (:inherit mode-line
-                    :box (:line-width ,mode-line-height :style
flat-button)))) t)
- -    \`(mode-line-inactive
+ -    `(mode-line-inactive
-      ((t (:inherit mode-line-inactive
-                    :box (:line-width ,mode-line-height :style
flat-button)))) t)))
- - (advice-add \'load-theme :after \#\'flat-style)
+ - (advice-add 'load-theme :after #'flat-style)
- Q: Do you teach Emacs to any of your university students?
- A: No teaching, but a lot of introdcuing ;-)