[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master ca3fe58 07/12: rename a function
From: |
Michael Heerdegen |
Subject: |
[elpa] master ca3fe58 07/12: rename a function |
Date: |
Sun, 11 Oct 2015 10:33:29 +0000 |
branch: master
commit ca3fe58e6a91b3434bad200d6bd8f20421fdab74
Author: Michael Heerdegen <address@hidden>
Commit: Michael Heerdegen <address@hidden>
rename a function
---
packages/el-search/el-search.el | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/el-search/el-search.el b/packages/el-search/el-search.el
index 5b78aa0..4467828 100644
--- a/packages/el-search/el-search.el
+++ b/packages/el-search/el-search.el
@@ -285,7 +285,7 @@ Don't move if already at beginning of a sexp."
(,pattern t)
(_ nil)))))
-(defun el-search--maybe-wrap-pattern (pattern)
+(defun el-search--wrap-pattern (pattern)
`(and ,el-search-this-expression-identifier ,pattern))
(defun el-search--search-pattern (pattern &optional noerror)
@@ -404,7 +404,7 @@ return nil (no error)."
(or (not (boundp pattern))
(not (eq (symbol-value pattern)
pattern))))
(error "Please don't forget the quote when
searching for a symbol"))
- (el-search--maybe-wrap-pattern pattern)))))
+ (el-search--wrap-pattern pattern)))))
(setq el-search-current-pattern pattern)
(setq el-search-success nil)
(let ((opoint (point)))
@@ -483,7 +483,7 @@ return nil (no error)."
(barf-if-buffer-read-only)
(let* ((from (el-search--read-pattern "Replace from: " nil initial-contents))
(to (el-search--read-pattern "Replace with result of evaluation of:
" from)))
- (list (el-search--maybe-wrap-pattern (read from)) (read to)
+ (list (el-search--wrap-pattern (read from)) (read to)
(with-temp-buffer
(insert to)
(el-search--create-read-map 1)))))
- [elpa] master updated (c0489e7 -> 2d5b3ba), Michael Heerdegen, 2015/10/11
- [elpa] master 5640cd0 04/12: el-search: some comment changes, Michael Heerdegen, 2015/10/11
- [elpa] master 84282f0 08/12: avoid repeated expansion of pcase forms, Michael Heerdegen, 2015/10/11
- [elpa] master e1903f4 01/12: avoid looking-back in el-search--goto-next-sexp, Michael Heerdegen, 2015/10/11
- [elpa] master 855461b 03/12: rename a function, Michael Heerdegen, 2015/10/11
- [elpa] master ca3fe58 07/12: rename a function,
Michael Heerdegen <=
- [elpa] master fa900da 09/12: new function el-search--end-of-sexp; use it, Michael Heerdegen, 2015/10/11
- [elpa] master ae052ce 11/12: rename a local variable, Michael Heerdegen, 2015/10/11
- [elpa] master 06c2076 02/12: change default of el-search-this-expression-identifier, Michael Heerdegen, 2015/10/11
- [elpa] master 5dd08f2 05/12: fix a condition in el-search--do-subsexps, Michael Heerdegen, 2015/10/15
- [elpa] master 0f79c16 06/12: drop el-search-expression-contains-match-p, Michael Heerdegen, 2015/10/15
- [elpa] master 2d5b3ba 12/12: whitespace clean up, Michael Heerdegen, 2015/10/15
- [elpa] master 24f8de1 10/12: rename a function, Michael Heerdegen, 2015/10/15