summaryrefslogtreecommitdiff
path: root/app-emacs/volume/files/volume-1.0-mode-line.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emacs/volume/files/volume-1.0-mode-line.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emacs/volume/files/volume-1.0-mode-line.patch')
-rw-r--r--app-emacs/volume/files/volume-1.0-mode-line.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-emacs/volume/files/volume-1.0-mode-line.patch b/app-emacs/volume/files/volume-1.0-mode-line.patch
new file mode 100644
index 000000000000..2b3e4ccd33ef
--- /dev/null
+++ b/app-emacs/volume/files/volume-1.0-mode-line.patch
@@ -0,0 +1,14 @@
+Use `mode-line' instead of `modeline' for Emacs 24 compat.
+Patch taken from upstream repo.
+
+--- a/volume.el
++++ b/volume.el
+@@ -973,7 +973,7 @@
+ (select-window
+ (split-window-vertically
+ (if (and (fboundp 'face-attr-construct)
+- (plist-get (face-attr-construct 'modeline) :box))
++ (plist-get (face-attr-construct 'mode-line) :box))
+ -3 -2)))
+ (switch-to-buffer volume-buffer)))
+ ((not (eq (current-buffer) volume-buffer))