chiark
/
gitweb
/
~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 5f2708502af9edae62e11111c924be29f9f9e168..6b2525f0a1feaf908291c5b7333f5db0455497fd 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-3857,7
+3857,8
@@
(defun mdw-mpc-hack-lines (arg interactivep func)
(decf n)))))))
(defun mdw-mpc-select-one ()
(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 ()
(mpc-select-toggle)))
(defun mdw-mpc-unselect-one ()