Navigation Menu

Skip to content

Commit

Permalink
Merge branch 'master' of github.com:victorhge/iedit
Browse files Browse the repository at this point in the history
  • Loading branch information
victorhge committed Jul 29, 2016
2 parents 2221a51 + 890a116 commit 3211c2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions iedit.el
Expand Up @@ -143,8 +143,8 @@ use this variable:
(prefix-char (char-after (1- (car bound)))))
(if (memq prefix-char '(?$ ?% ?@ ?*))
(progn
(setq iedit-occurrence-type-local 'other)
(buffer-substring-no-properties (1- (car bound)) (cdr bound)))
(setq iedit-occurrence-type-local 'regexp)
(concat (regexp-quote (buffer-substring-no-properties (1- (car bound)) (cdr bound))) \"\\\\_>\"))
(buffer-substring-no-properties (car bound) (cdr bound))))))))
'$%@*' will be included in the occurrences in perl mode.")

Expand Down Expand Up @@ -470,6 +470,7 @@ The candidate depends on the thing at point."
(cl-case iedit-occurrence-type-local
('symbol (concat "\\_<" (regexp-quote exp) "\\_>"))
('word (concat "\\<" (regexp-quote exp) "\\>"))
('regexp exp)
( t (regexp-quote exp))))

(defun iedit-mark-sgml-pair ()
Expand Down

0 comments on commit 3211c2e

Please sign in to comment.