summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Elias Pipping <pipping@exherbo.org> 2013-12-30 13:59:06 +0100
committerAvatar Elias Pipping <pipping@exherbo.org> 2013-12-30 13:59:06 +0100
commit8ce343d422095514f8cc2201fc2a8be16ce792d3 (patch)
treeaca66eb11d6617585c5f332f81ad69911dc179c6
parentddce5766fd65db7eaff803f762364f3d908ae39b (diff)
downloademacs-8ce343d422095514f8cc2201fc2a8be16ce792d3.tar.gz
emacs-8ce343d422095514f8cc2201fc2a8be16ce792d3.tar.xz
smartscan: Nicer patch
-rw-r--r--packages/app-emacs/smartscan/files/smartscan-cl.patch20
1 files changed, 15 insertions, 5 deletions
diff --git a/packages/app-emacs/smartscan/files/smartscan-cl.patch b/packages/app-emacs/smartscan/files/smartscan-cl.patch
index a422733..3e9d9cd 100644
--- a/packages/app-emacs/smartscan/files/smartscan-cl.patch
+++ b/packages/app-emacs/smartscan/files/smartscan-cl.patch
@@ -1,19 +1,26 @@
Source: Elias Pipping <pipping@exherbo.org>
Upstream: no
-Reason: incf is undefined at compile-time
---- smartscan/smartscan.el
-+++ smartscan/smartscan.el
+Reason: incf is from cl-lib
+
+---
+ smartscan.el | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/smartscan.el b/smartscan.el
+index fea2c48..47ba7fb 100644
+--- a/smartscan.el
++++ b/smartscan.el
@@ -66,6 +66,9 @@
(provide 'smartscan)
+(eval-when-compile
-+ (require 'cl))
++ (require 'cl-lib))
+
(defvar smartscan-use-extended-syntax nil
"If t the smart symbol functionality will consider extended
syntax in finding matches, if such matches exist.")
-@@ -188,7 +191,7 @@
+@@ -188,7 +191,7 @@ actual work."
(goto-char (point-min)))
(while (search-forward
oldsymbol (if arg (save-excursion (end-of-defun) (point)) nil) t nil)
@@ -22,3 +29,6 @@ Reason: incf is undefined at compile-time
(message "Smart Scan replaced %d matches" counter))))
+--
+1.8.5.2
+