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
bcbaf6b7
Commit
bcbaf6b7
authored
Sep 04, 2014
by
Lars Ljung
Committed by
Stefan Monnier
Sep 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/isearch.el (isearch-yank-word-or-char): Obey superword-mode
as well. Fixes: debbugs:18400
parent
3084e597
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/isearch.el
lisp/isearch.el
+4
-2
No files found.
lisp/ChangeLog
View file @
bcbaf6b7
2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
* isearch.el (isearch-yank-word-or-char): Obey superword-mode
as well (bug#18400).
2014-09-04 Eli Zaretskii <eliz@gnu.org>
* subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
...
...
lisp/isearch.el
View file @
bcbaf6b7
...
...
@@ -1968,10 +1968,12 @@ Subword is used when `subword-mode' is activated. "
(lambda ()
(if (or (= (char-syntax (or (char-after) 0)) ?w)
(= (char-syntax (or (char-after (1+ (point))) 0)) ?w))
(if (and (boundp 'subword-mode) subword-mode)
(if (or (and (boundp 'subword-mode) subword-mode)
(and (boundp 'superword-mode) superword-mode))
(subword-forward 1)
(forward-word 1))
(forward-char 1)) (point))))
(forward-char 1))
(point))))
(defun isearch-yank-word (&optional arg)
"
Pull
next
word
from
buffer
into
search
string.
...
...
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