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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
dd7426ea
Commit
dd7426ea
authored
Jun 18, 2013
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* newcomment.el (comment-search-forward, comment-search-backward): Doc fix.
parent
5ebb1ee6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/newcomment.el
lisp/newcomment.el
+6
-2
No files found.
lisp/ChangeLog
View file @
dd7426ea
2013-06-18 Glenn Morris <rgm@gnu.org>
* newcomment.el (comment-search-forward, comment-search-backward):
Doc fix. (Bug#14376)
2013-06-18 Juanma Barranquero <lekktu@gmail.com>
* face-remap.el (buffer-face-toggle): Fix typo in docstring.
...
...
lisp/newcomment.el
View file @
dd7426ea
...
...
@@ -446,7 +446,9 @@ in strings will not confuse Emacs.")
"Find a comment start between point and LIMIT.
Moves point to inside the comment and returns the position of the
comment-starter. If no comment is found, moves point to LIMIT
and raises an error or returns nil if NOERROR is non-nil."
and raises an error or returns nil if NOERROR is non-nil.
Ensure that `comment-normalize-vars' has been called before you use this."
(
if
(
not
comment-use-syntax
)
(
if
(
re-search-forward
comment-start-skip
limit
noerror
)
(
or
(
match-end
1
)
(
match-beginning
0
))
...
...
@@ -484,7 +486,9 @@ and raises an error or returns nil if NOERROR is non-nil."
"Find a comment start between LIMIT and point.
Moves point to inside the comment and returns the position of the
comment-starter. If no comment is found, moves point to LIMIT
and raises an error or returns nil if NOERROR is non-nil."
and raises an error or returns nil if NOERROR is non-nil.
Ensure that `comment-normalize-vars' has been called before you use this."
;; FIXME: If a comment-start appears inside a comment, we may erroneously
;; stop there. This can be rather bad in general, but since
;; comment-search-backward is only used to find the comment-column (in
...
...
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