aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoni Rabkin <yoni@rabkins.net>2018-06-13 23:33:36 -0400
committerYoni Rabkin <yoni@rabkins.net>2018-06-13 23:33:36 -0400
commit536fd3307c2004b0d6da55a818a4977e822e109f (patch)
tree2a08b06bdff985cc9a1ee27d01b7cf598492db7d
parent3b608a5499f1151111029ba8a9cbcec4fcae46ef (diff)
* lisp/emms-show-all.el: bug fix: preempted defvar
Buffer read-only error on keymap interaction. Bug report by Fran Burstall.
-rw-r--r--lisp/emms-show-all.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/emms-show-all.el b/lisp/emms-show-all.el
index 8613b68..09189d6 100644
--- a/lisp/emms-show-all.el
+++ b/lisp/emms-show-all.el
@@ -41,10 +41,6 @@
(defvar emms-show-all-track-alist nil
"Declare so as to silence the compiler.")
-(define-derived-mode emms-show-all-mode text-mode "Emms-Show-All"
- "Major mode for `emms-show-all'
- \\{emms-show-all-mode-map}")
-
(defvar emms-show-all-mode-map
(let ((map (make-sparse-keymap)))
(set-keymap-parent map text-mode-map)
@@ -53,6 +49,9 @@
map)
"Keymap for `emms-show-all-mode'.")
+(define-derived-mode emms-show-all-mode text-mode "Emms-Show-All"
+ "Major mode for `emms-show-all'
+ \\{emms-show-all-mode-map}")
(defun emms-show-all-edit-track ()
"Edit the track being shown."