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
5a97a3c2
Commit
5a97a3c2
authored
Dec 25, 2001
by
Richard M. Stallman
Browse files
(help-xref-on-pp): Catch and ignore errors in scanning the buffer.
parent
2a7c85e3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
15 deletions
+20
-15
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/help-mode.el
lisp/help-mode.el
+17
-15
No files found.
lisp/ChangeLog
View file @
5a97a3c2
2001-12-25 Richard M. Stallman <rms@gnu.org>
* help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
the buffer.
* startup.el (command-line): Convert command line args
to Emacs internal representation using locale-coding-system.
...
...
lisp/help-mode.el
View file @
5a97a3c2
...
...
@@ -463,6 +463,7 @@ See `help-make-xrefs'."
(
set-syntax-table
emacs-lisp-mode-syntax-table
)
(
narrow-to-region
from
to
)
(
goto-char
(
point-min
))
(
condition-case
nil
(
while
(
not
(
eobp
))
(
cond
((
looking-at
"\""
)
(
forward-sexp
1
))
...
...
@@ -477,7 +478,8 @@ See `help-make-xrefs'."
'help-variable
))))
(
when
type
(
help-xref-button
1
type
sym
)))
(
goto-char
(
match-end
1
)))
(
t
(
forward-char
1
))))))
(
t
(
forward-char
1
))))
(
error
nil
))))
(
set-syntax-table
ost
))))
...
...
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