From 2075945893c4eb6a7d02ca1a1c868aa7fdf8a563 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Fri, 31 Jan 2020 17:12:37 +0100 Subject: [PATCH] update with-editor --- .../dir | 0 .../with-editor-autoloads.el | 14 +++++++++----- .../with-editor-pkg.el | 2 +- .../with-editor.el | 8 ++++---- .../with-editor.info | 8 ++++---- 5 files changed, 18 insertions(+), 14 deletions(-) rename elpa/{with-editor-20191024.1905 => with-editor-20200102.2147}/dir (100%) rename elpa/{with-editor-20191024.1905 => with-editor-20200102.2147}/with-editor-autoloads.el (86%) rename elpa/{with-editor-20191024.1905 => with-editor-20200102.2147}/with-editor-pkg.el (81%) rename elpa/{with-editor-20191024.1905 => with-editor-20200102.2147}/with-editor.el (99%) rename elpa/{with-editor-20191024.1905 => with-editor-20200102.2147}/with-editor.info (98%) diff --git a/elpa/with-editor-20191024.1905/dir b/elpa/with-editor-20200102.2147/dir similarity index 100% rename from elpa/with-editor-20191024.1905/dir rename to elpa/with-editor-20200102.2147/dir diff --git a/elpa/with-editor-20191024.1905/with-editor-autoloads.el b/elpa/with-editor-20200102.2147/with-editor-autoloads.el similarity index 86% rename from elpa/with-editor-20191024.1905/with-editor-autoloads.el rename to elpa/with-editor-20200102.2147/with-editor-autoloads.el index 272dd42f..cdfafa8e 100644 --- a/elpa/with-editor-20191024.1905/with-editor-autoloads.el +++ b/elpa/with-editor-20200102.2147/with-editor-autoloads.el @@ -1,10 +1,12 @@ ;;; with-editor-autoloads.el --- automatically extracted autoloads ;; ;;; Code: -(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path)))) + +(add-to-list 'load-path (directory-file-name + (or (file-name-directory #$) (car load-path)))) + -;;;### (autoloads nil "with-editor" "with-editor.el" (23994 46374 -;;;;;; 560489 147000)) +;;;### (autoloads nil "with-editor" "with-editor.el" (0 0 0 0)) ;;; Generated autoloads from with-editor.el (autoload 'with-editor-export-editor "with-editor" "\ @@ -80,10 +82,11 @@ else like the former. \(fn COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER ENVVAR)" t nil) +(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "with-editor" '("with-editor" "start-file-process--with-editor-process-filter" "server-" "shell-command--shell-command-with-editor-mode"))) + ;;;*** -;;;### (autoloads nil nil ("with-editor-pkg.el") (23994 46374 561492 -;;;;;; 929000)) +;;;### (autoloads nil nil ("with-editor-pkg.el") (0 0 0 0)) ;;;*** @@ -91,5 +94,6 @@ else like the former. ;; version-control: never ;; no-byte-compile: t ;; no-update-autoloads: t +;; coding: utf-8 ;; End: ;;; with-editor-autoloads.el ends here diff --git a/elpa/with-editor-20191024.1905/with-editor-pkg.el b/elpa/with-editor-20200102.2147/with-editor-pkg.el similarity index 81% rename from elpa/with-editor-20191024.1905/with-editor-pkg.el rename to elpa/with-editor-20200102.2147/with-editor-pkg.el index f2a28209..5d16d290 100644 --- a/elpa/with-editor-20191024.1905/with-editor-pkg.el +++ b/elpa/with-editor-20200102.2147/with-editor-pkg.el @@ -1,4 +1,4 @@ -(define-package "with-editor" "20191024.1905" "Use the Emacsclient as $EDITOR" +(define-package "with-editor" "20200102.2147" "Use the Emacsclient as $EDITOR" '((emacs "24.4") (async "1.9")) :keywords diff --git a/elpa/with-editor-20191024.1905/with-editor.el b/elpa/with-editor-20200102.2147/with-editor.el similarity index 99% rename from elpa/with-editor-20191024.1905/with-editor.el rename to elpa/with-editor-20200102.2147/with-editor.el index 2d282379..76122002 100644 --- a/elpa/with-editor-20191024.1905/with-editor.el +++ b/elpa/with-editor-20200102.2147/with-editor.el @@ -1,6 +1,6 @@ ;;; with-editor.el --- Use the Emacsclient as $EDITOR -*- lexical-binding: t -*- -;; Copyright (C) 2014-2019 The Magit Project Contributors +;; Copyright (C) 2014-2020 The Magit Project Contributors ;; ;; You should have received a copy of the AUTHORS.md file. If not, ;; see https://github.com/magit/with-editor/blob/master/AUTHORS.md. @@ -210,7 +210,7 @@ performant implementation: trap \\\"exit 1\" USR2; \\ while true; do sleep 1; done'\" -Note that the unit seperator character () right after the file +Note that the unit separator character () right after the file name ($0) is required. Also note that using this alternative implementation leads to a @@ -343,7 +343,7 @@ And some tools that do not handle $EDITOR properly also break." (with-temp-buffer (setq default-directory dir) (setq-local with-editor-post-finish-hook post-finish-hook) - (when (bound-and-true-p git-commit-post-finish-hook) + (when post-commit-hook (setq-local git-commit-post-finish-hook post-commit-hook)) (run-hooks 'with-editor-post-finish-hook))))) @@ -582,7 +582,7 @@ the appropriate editor environment variable." (defun with-editor-set-process-filter (process filter) "Like `set-process-filter' but keep `with-editor-process-filter'. Give PROCESS the new FILTER but keep `with-editor-process-filter' -if that was added earlier by the adviced `start-file-process'. +if that was added earlier by the advised `start-file-process'. Do so by wrapping the two filter functions using a lambda, which becomes the actual filter. It calls `with-editor-process-filter' diff --git a/elpa/with-editor-20191024.1905/with-editor.info b/elpa/with-editor-20200102.2147/with-editor.info similarity index 98% rename from elpa/with-editor-20191024.1905/with-editor.info rename to elpa/with-editor-20200102.2147/with-editor.info index 0addeba0..d3ac1ad6 100644 --- a/elpa/with-editor-20191024.1905/with-editor.info +++ b/elpa/with-editor-20200102.2147/with-editor.info @@ -1,7 +1,7 @@ This is with-editor.info, produced by makeinfo version 6.5 from with-editor.texi. - Copyright (C) 2015-2019 Jonas Bernoulli + Copyright (C) 2015-2020 Jonas Bernoulli You can redistribute this document and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -39,9 +39,9 @@ library is made available as a separate package. It also defines some additional functionality which makes it useful even for end-users, who don’t use Magit or another package which uses it internally. -This manual is for With-Editor version 2.8.3. +This manual is for With-Editor version 2.9.1. - Copyright (C) 2015-2019 Jonas Bernoulli + Copyright (C) 2015-2020 Jonas Bernoulli You can redistribute this document and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -176,7 +176,7 @@ it receives a signal. trap \"exit 1\" USR2; \ while true; do sleep 1; done'" - Note that the unit seperator character () right after the file name + Note that the unit separator character () right after the file name ($0) is required. Also note that using this alternative implementation leads to a -- 2.47.3