branch: externals/shell-command+ commit b4129d29f7b244e4bdb111771173ff1ea4c9b984 Author: Philip Kaludercic <phil...@posteo.net> Commit: Philip Kaludercic <phil...@posteo.net>
Remove deprecated option 'shell-command+-enable-file-substitution' --- shell-command+.el | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/shell-command+.el b/shell-command+.el index 58ada358b9..532d70707f 100644 --- a/shell-command+.el +++ b/shell-command+.el @@ -1,6 +1,6 @@ ;;; shell-command+.el --- An extended shell-command -*- lexical-binding: t -*- -;; Copyright (C) 2020-2023 Free Software Foundation, Inc. +;; Copyright (C) 2020-2024 Free Software Foundation, Inc. ;; Author: Philip Kaludercic <phil...@posteo.net> ;; Maintainer: Philip Kaludercic <~pkal/public-in...@lists.sr.ht> @@ -165,22 +165,6 @@ For PARSE, FORM and CONTEXT see `shell-command+-features'." ;;;; % (file name) expansion -(defcustom shell-command+-enable-file-substitution t - "Enable the substitution of \"%s\" with the current file name." - :set (lambda (_sym val) - (if val - (unless (member 'shell-command+-expand-% - shell-command+-features) - (push 'shell-command+-expand-% - shell-command+-features)) - (setq shell-command+-features - (delete 'shell-command+-expand-% - shell-command+-features)))) - :type 'boolean) -(make-obsolete-variable 'shell-command+-enable-file-substitution - 'shell-command+-features - "2.4.0") - (defun shell-command+-expand-% (parse form context) "Replace occurrences of \"%\" in the command. For PARSE, FORM and CONTEXT see `shell-command+-features'."