[elpa] master e59dc58 1/4: Fix arg out of range error
branch: master commit e59dc5884844851377aafcb7e531c0c419729c12 Author: Artur Malabarba Commit: Artur Malabarba Fix arg out of range error --- names.el |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/names.el b/names.el index b5f403e..33f41a2 100644 --- a/names.el +++ b/names.el @@ -48,8 +48,9 @@ (setq edebug-inhibit-emacs-lisp-mode-bindings t) ;; And the `C-xX' binds. (defvar global-edebug-prefix) - (when (or (null (boundp 'global-edebug-prefix)) -(eq ?\C-x (elt global-edebug-prefix 0))) + (when (ignore-errors + (or (null (boundp 'global-edebug-prefix)) + (eq ?\C-x (elt global-edebug-prefix 0 (setq global-edebug-prefix ""))) (require 'edebug) (require 'bytecomp)
[elpa] master 6340c15 4/4: Merge commit 'e2737d0adb7f8d8f79c2ca0fee5b13b6f8ae164b'
branch: master commit 6340c15fb07a979b6c7bd2e8913e499091c257ff Merge: cb4b138 e2737d0 Author: Artur Malabarba Commit: Artur Malabarba Merge commit 'e2737d0adb7f8d8f79c2ca0fee5b13b6f8ae164b' --- packages/names/names.el | 20 ++-- 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/packages/names/names.el b/packages/names/names.el index 71bd0d1..f0fee8d 100644 --- a/packages/names/names.el +++ b/packages/names/names.el @@ -5,7 +5,7 @@ ;; Author: Artur Malabarba ;; Maintainer: Artur Malabarba ;; URL: http://github.com/Bruce-Connor/names -;; Version: 20150618.0 +;; Version: 20150723.0 ;; Package-Requires: ((emacs "24.1") (cl-lib "0.5")) ;; Keywords: extensions lisp ;; Prefix: names @@ -48,8 +48,9 @@ (setq edebug-inhibit-emacs-lisp-mode-bindings t) ;; And the `C-xX' binds. (defvar global-edebug-prefix) - (when (or (null (boundp 'global-edebug-prefix)) -(eq ?\C-x (elt global-edebug-prefix 0))) + (when (ignore-errors + (or (null (boundp 'global-edebug-prefix)) + (eq ?\C-x (elt global-edebug-prefix 0 (setq global-edebug-prefix ""))) (require 'edebug) (require 'bytecomp) @@ -125,7 +126,7 @@ it will set PROP." ;;; --- ;;; Variables -(defconst names-version "20150618.0" "Version of the names.el package.") +(defconst names-version "20150723.0" "Version of the names.el package.") (defvar names--name nil "Name of the current namespace inside the `define-namespace' macro.") @@ -443,8 +444,15 @@ See `define-namespace' for more information." (push key-and-args names--keywords)) ;; First have to populate the bound and fbound lists. So we read -;; the entire form (without evaluating it). -(mapc 'names-convert-form body) +;; the entire form (without return it). +(if names--inside-make-autoload +;; Dependencies haven't been loaded during autoload +;; generation, so we better ignore errors here. Ideally we +;; would only go through the forms marked for autoloading, +;; but then we wouldn't know what symbols are var/function +;; names. +(mapc (lambda (form) (ignore-errors (names-convert-form form))) body) + (mapc #'names-convert-form body)) (setq names--current-run (1+ names--current-run)) ;; Then we go back and actually namespace the entire form, which
[elpa] master updated (cb4b138 -> 6340c15)
malabarba pushed a change to branch master. from cb4b138 Add ability to handle cookies. new e59dc58 Fix arg out of range error new abe8914 Fix failed autoloads because of not-loaded requires new e2737d0 names: Bump version new 6340c15 Merge commit 'e2737d0adb7f8d8f79c2ca0fee5b13b6f8ae164b' Summary of changes: packages/names/names.el | 20 ++-- 1 files changed, 14 insertions(+), 6 deletions(-)
[elpa] master abe8914 2/4: Fix failed autoloads because of not-loaded requires
branch: master commit abe89142dafb7c5073848b912daecf08cbb7dd13 Author: Artur Malabarba Commit: Artur Malabarba Fix failed autoloads because of not-loaded requires --- names.el | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/names.el b/names.el index 33f41a2..189b057 100644 --- a/names.el +++ b/names.el @@ -444,8 +444,15 @@ See `define-namespace' for more information." (push key-and-args names--keywords)) ;; First have to populate the bound and fbound lists. So we read -;; the entire form (without evaluating it). -(mapc 'names-convert-form body) +;; the entire form (without return it). +(if names--inside-make-autoload +;; Dependencies haven't been loaded during autoload +;; generation, so we better ignore errors here. Ideally we +;; would only go through the forms marked for autoloading, +;; but then we wouldn't know what symbols are var/function +;; names. +(mapc (lambda (form) (ignore-errors (names-convert-form form))) body) + (mapc #'names-convert-form body)) (setq names--current-run (1+ names--current-run)) ;; Then we go back and actually namespace the entire form, which
[elpa] master e2737d0 3/4: names: Bump version
branch: master commit e2737d0adb7f8d8f79c2ca0fee5b13b6f8ae164b Author: Artur Malabarba Commit: Artur Malabarba names: Bump version --- names.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/names.el b/names.el index 189b057..cfcc6b8 100644 --- a/names.el +++ b/names.el @@ -5,7 +5,7 @@ ;; Author: Artur Malabarba ;; Maintainer: Artur Malabarba ;; URL: http://github.com/Bruce-Connor/names -;; Version: 20150618.0 +;; Version: 20150723.0 ;; Package-Requires: ((emacs "24.1") (cl-lib "0.5")) ;; Keywords: extensions lisp ;; Prefix: names @@ -126,7 +126,7 @@ it will set PROP." ;;; --- ;;; Variables -(defconst names-version "20150618.0" "Version of the names.el package.") +(defconst names-version "20150723.0" "Version of the names.el package.") (defvar names--name nil "Name of the current namespace inside the `define-namespace' macro.")