projects
/
pico8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60ef55c
)
lua-mode has derived from prog-mode for a while now.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sat, 9 Sep 2017 11:02:35 +0000
(13:02 +0200)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sat, 9 Sep 2017 11:02:35 +0000
(13:02 +0200)
pico8.el
patch
|
blob
|
history
diff --git
a/pico8.el
b/pico8.el
index bc3ce11d3901c94d8b4fafbb0667c03810cec7a4..32239f596b90190d7a926f68a83f6e97032c7ef3 100644
(file)
--- a/
pico8.el
+++ b/
pico8.el
@@
-454,9
+454,8
@@
this is the numeric literal in the code."
(let ((beg (- (point) (% (min 255 (current-column)) 2))))
(string-to-number (buffer-substring beg (+ beg 2)) 16)))
- ;; In Lua or other code, the sprite is a numeric literal.
- ;; lua-mode doesn't derive from anything.
- ((or (derived-mode-p 'lua-mode) (derived-mode-p 'prog-mode))
+ ;; In Lua, the sprite is a numeric literal.
+ ((derived-mode-p 'lua-mode)
(pico8--string-to-number (or (word-at-point) "")))
(t nil)))