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
4d1243c8
Commit
4d1243c8
authored
Nov 28, 2008
by
Martin Rudalics
Browse files
(eldoc-docstring-first-line): Don't match
any but the first "*" in a doc-string.
parent
59bc82c0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/eldoc.el
lisp/emacs-lisp/eldoc.el
+3
-1
No files found.
lisp/ChangeLog
View file @
4d1243c8
2008-11-28 Martin Rudalics <rudalics@gmx.at>
* emacs-lisp/eldoc.el (eldoc-docstring-first-line): Don't match
any but the first "*" in a doc-string.
2008-11-28 Glenn Morris <rgm@gnu.org>
* format.el (format-write-file): Improve previous doc fix.
...
...
lisp/emacs-lisp/eldoc.el
View file @
4d1243c8
...
...
@@ -367,7 +367,9 @@ In the absence of INDEX, just call `eldoc-docstring-format-sym-doc'."
(and (stringp doc)
(substitute-command-keys
(save-match-data
(let ((start (if (string-match "
^\\*
" doc) (match-end 0) 0)))
;; Don't use "
^
" in the regexp below since it may match
;; anywhere in the doc-string.
(let ((start (if (string-match "
\\
`
\\*
" doc) (match-end 0) 0)))
(cond ((string-match "
\n
" doc)
(substring doc start (match-beginning 0)))
((zerop start) doc)
...
...
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