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
c5fb599f
Commit
c5fb599f
authored
May 26, 1993
by
Richard M. Stallman
Browse files
(mail-strip-quoted-names): Catch errors from forward-sexp.
parent
0a9b0670
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
lisp/mail/mail-utils.el
lisp/mail/mail-utils.el
+5
-1
No files found.
lisp/mail/mail-utils.el
View file @
c5fb599f
...
...
@@ -75,7 +75,11 @@ Return a modified address list."
(forward-char -1)
(skip-chars-backward "
\t
")
(delete-region (point)
(save-excursion (forward-sexp 1) (point))))
(save-excursion
(condition-case ()
(forward-sexp 1)
(error (goto-char (point-max))))
(point))))
(setq address (buffer-string))
(erase-buffer))
;; Strip non-nested comments an easier way.
...
...
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