Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4eb43682
Commit
4eb43682
authored
May 10, 2014
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
are a hindrance for C-x C-e.
parent
0994e45d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
16 deletions
+15
-16
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/lisp-mode.el
lisp/emacs-lisp/lisp-mode.el
+10
-16
No files found.
lisp/ChangeLog
View file @
4eb43682
2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
are a hindrance for C-x C-e.
2014-05-11 Leo Liu <sdl.web@gmail.com>
* net/rcirc.el (rcirc-sentinel): Fix last change.
...
...
lisp/emacs-lisp/lisp-mode.el
View file @
4eb43682
...
...
@@ -1017,26 +1017,20 @@ If CHAR is not a character, return nil."
(
forward-sexp
-1
))))
(
save-restriction
;; vladimir@cs.ualberta.ca 30-Jul-1997: skip ` in
;; `variable' so that the value is returned, not the
;; name
(
if
(
and
ignore-quotes
(
eq
(
following-char
)
?
`
))
(
if
(
and
ignore-quotes
(
eq
(
following-char
)
?
`
))
;; vladimir@cs.ualberta.ca 30-Jul-1997: Skip ` in `variable' so
;; that the value is returned, not the name.
(
forward-char
))
(
when
(
looking-at
",@?"
)
(
goto-char
(
match-end
0
)))
(
narrow-to-region
(
point-min
)
opoint
)
(
setq
expr
(
read
(
current-buffer
)))
;; If it's an (interactive ...) form, it's more
;; useful to show how an interactive call would
;; use it.
(
and
(
consp
expr
)
(
eq
(
car
expr
)
'interactive
)
;; If it's an (interactive ...) form, it's more useful to show how an
;; interactive call would use it.
;; FIXME: Is it really the right place for this?
(
when
(
eq
(
car-safe
expr
)
'interactive
)
(
setq
expr
(
list
'call-interactively
(
list
'quote
(
list
'lambda
'
(
&rest
args
)
expr
'args
)))))
`
(
call-interactively
(
lambda
(
&rest
args
)
,
expr
args
))))
expr
)))))
...
...
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