Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
06bc5e6e
Commit
06bc5e6e
authored
May 13, 2012
by
Stefan Monnier
Browse files
*** empty log message ***
parent
0ae03b6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/smie.el
lisp/emacs-lisp/smie.el
+4
-2
No files found.
lisp/ChangeLog
View file @
06bc5e6e
2012-05-13 Johan Bockgård <bojohan@gnu.org>
* emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
than hard-coding `car', to fix misbehavior when moving forward.
2012-05-13 Chong Yidong <cyd@gnu.org>
* emacs-lisp/tabulated-list.el (tabulated-list-format)
...
...
lisp/emacs-lisp/smie.el
View file @
06bc5e6e
...
...
@@ -728,7 +728,8 @@ Possible return values:
(
if
(
and
halfsexp
(
numberp
(
funcall
op-forw
toklevels
)))
(
push
toklevels
levels
)
(
throw
'return
(
prog1
(
list
(
or
(
car
toklevels
)
t
)
(
point
)
token
)
(
prog1
(
list
(
or
(
funcall
op-forw
toklevels
)
t
)
(
point
)
token
)
(
goto-char
pos
)))))
(
t
(
let
((
lastlevels
levels
))
...
...
@@ -773,7 +774,8 @@ Possible return values:
((
and
lastlevels
(
smie--associative-p
(
car
lastlevels
)))
(
throw
'return
(
prog1
(
list
(
or
(
car
toklevels
)
t
)
(
point
)
token
)
(
prog1
(
list
(
or
(
funcall
op-forw
toklevels
)
t
)
(
point
)
token
)
(
goto-char
pos
))))
;; - it's an associative operator within a larger construct
;; (e.g. an "elsif"), so we should just ignore it and keep
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment