-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #39 Remove call to edit-indirect--clean-up
#40
Conversation
According to Fanael/edit-indirect@d0378d9, `(edit-indirect--abort t)` replaces `(edit-indirect--clean-up)`.
Thanks. It will be better if you leave your name in commentary like following:
and specify the minimum required version of
|
Thanks for the info. I just tested, it seems that the above change breaks |
You should revert the changes about ┌[19:57:39] (pr-40-patch-1|✚1…2)
└⋊> [~/D/r/emacs-separedit_test-pr] git --no-pager diff -U0 6079b03
diff --git a/separedit.el b/separedit.el
index e27c946..95d50fa 100644
--- a/separedit.el
+++ b/separedit.el
@@ -1700 +1700,5 @@ It will override by the key that `separedit' binding in source buffer.")
- (clone-buffer (concat (buffer-name) " <clone>"))))
+ (clone-buffer (concat (buffer-name) " <clone>")))
+ (function-backup
+ ;; Temprary disable the ‘edit-indirect--abort’ (but who calls
+ ;; this function after the clone buffer is killed?)
+ (symbol-function 'edit-indirect--abort)))
@@ -1702,0 +1707 @@ It will override by the key that `separedit' binding in source buffer.")
+ (fset 'edit-indirect--abort #'ignore)
@@ -1704,0 +1710 @@ It will override by the key that `separedit' binding in source buffer.")
+ (fset 'edit-indirect--abort function-backup) |
|
It's ok, I've ran all tests on my computer. I've also had download failure before: $ cask install
...
Package refresh done
done
Package operations: 16 installs, 0 removals
- Installing [ 1/16] edit-indirect (0.1.5)... already present
- Installing [ 2/16] yaml-mode (latest)... already present
- Installing [ 3/16] tuareg (latest)... cloning
Command ‘git reset --hard 92b1ca6cacd6e13d2a0d9261511d6d07147853a8’ exited with non-zero exit-code: 128
fatal: Could not parse object '92b1ca6cacd6e13d2a0d9261511d6d07147853a8'.
Debugger entered--Lisp error: (error "Command ‘git reset --hard 92b1ca6cacd6e13d2a0d9261...")
signal(error ("Command ‘git reset --hard 92b1ca6cacd6e13d2a0d9261..."))
error("%s" "Command ‘git reset --hard 92b1ca6cacd6e13d2a0d9261...")
package-build--error(#<package-git-recipe package-git-recipe-1fefbeaae73c> "%s" "Command ‘git reset --hard 92b1ca6cacd6e13d2a0d9261...")
package-build--call-process(#<package-git-recipe package-git-recipe-1fefbeaae73c> "git" "reset" "--hard" "92b1ca6cacd6e13d2a0d9261511d6d07147853a8")
#f(compiled-function (rcp) #<bytecode -0x754fed0576bb2c>)(#<package-git-recipe package-git-recipe-1fefbeaae73c>) Then I executed |
Now
(edit-indirect--abort t)
replaces(edit-indirect--clean-up)
.