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
07ca56eb
Commit
07ca56eb
authored
Aug 08, 2000
by
Gerd Moellmann
Browse files
(eval-last-sexp-1): Handle `#N=' labels.
parent
704bdba1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
lisp/emacs-lisp/lisp-mode.el
lisp/emacs-lisp/lisp-mode.el
+10
-0
No files found.
lisp/emacs-lisp/lisp-mode.el
View file @
07ca56eb
...
...
@@ -349,6 +349,16 @@ With argument, print output into current buffer."
(
forward-char
-1
)
(
when
(
eq
(
preceding-char
)
??
)
(
forward-char
-1
)))
;; Skip over `#N='s.
(
when
(
eq
(
preceding-char
)
?=
)
(
let
(
labeled-p
)
(
save-excursion
(
skip-chars-backward
"0-9#="
)
(
setq
labeled-p
(
looking-at
"\\(#[0-9]+=\\)+"
)))
(
when
labeled-p
(
forward-sexp
-1
))))
(
save-restriction
;; vladimir@cs.ualberta.ca 30-Jul-1997: skip ` in
;; `variable' so that the value is returned, not the
...
...
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