branch: elpa/helm commit e81fbbc687705595ab65ae5cd3bdf93c17a90743 Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@posteo.net>
Delete helm-config file no more useful One can require helm-autoloads when installing from source. --- emacs-helm.sh | 2 +- helm-config.el | 32 -------------------------------- helm-global-bindings.el | 6 +++++- 3 files changed, 6 insertions(+), 34 deletions(-) diff --git a/emacs-helm.sh b/emacs-helm.sh index cb7ecfdb52..2a93c4500d 100755 --- a/emacs-helm.sh +++ b/emacs-helm.sh @@ -242,7 +242,7 @@ cat > $CONF_FILE <<EOF (menu-bar-lines . 0) (fullscreen . nil)))) (blink-cursor-mode -1) -(require 'helm-config) +(require 'helm-autoloads) (helm-mode 1) (with-eval-after-load 'tramp-cache (setq tramp-cache-read-persistent-data t)) (with-eval-after-load 'auth-source (setq auth-source-save-behavior nil)) diff --git a/helm-config.el b/helm-config.el deleted file mode 100644 index 9a83a30bcf..0000000000 --- a/helm-config.el +++ /dev/null @@ -1,32 +0,0 @@ -;;; helm-config.el --- Applications library for `helm.el' -*- lexical-binding: t -*- - -;; Copyright (C) 2012 ~ 2021 Thierry Volpiatto - -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation, either version 3 of the License, or -;; (at your option) any later version. - -;; This program is distributed in the hope that it will be useful, -;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;; GNU General Public License for more details. - -;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see <http://www.gnu.org/licenses/>. - -;;; Commentary: -;; -;; Requiring this file is not needed when using a package manager to -;; install helm as this one will take care of creating and loading the -;; autoload file. - -;;; Code: - -;;; Load the autoload file generated by the make file. - -(load "helm-autoloads" nil t) - -(provide 'helm-config) - -;;; helm-config.el ends here diff --git a/helm-global-bindings.el b/helm-global-bindings.el index 896df8b60d..c48023b5bd 100644 --- a/helm-global-bindings.el +++ b/helm-global-bindings.el @@ -23,12 +23,16 @@ ;;; Command Keymap ;; ;; +(defgroup helm-global-bindings nil + "Global bindings for Helm." + :group 'helm) + (defcustom helm-command-prefix-key (helm-aif (car (where-is-internal 'Control-X-prefix (list global-map))) (concat it [?c])) "The key `helm-command-prefix' is bound to in the global map." :type '(choice (string :tag "Key") (const :tag "no binding")) - :group 'helm-config + :group 'helm-global-bindings :set (lambda (var key) (when (and (boundp var) (symbol-value var))