~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aba12f
)
el/dot-emacs.el: Don't try to select a track after the last line.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 20 Jul 2017 00:18:46 +0000
(
01:18
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 20 Jul 2017 00:18:46 +0000
(
01:18
+0100)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index
5f27085
..
6b2525f
100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-3857,7
+3857,8
@@
there is sadness."
(decf n)))))))
(defun mdw-mpc-select-one ()
- (unless (get-char-property (point) 'mpc-select)
+ (when (and (get-char-property (point) 'mpc-file)
+ (not (get-char-property (point) 'mpc-select)))
(mpc-select-toggle)))
(defun mdw-mpc-unselect-one ()