branch: externals/gpr-query commit bae92cd6218601504f2ff1a508ef79d1bf03b29a Author: Stephen Leake <stephen_le...@stephe-leake.org> Commit: Stephen Leake <stephen_le...@stephe-leake.org>
Minor fixes * ELPA.make: Fix typo. * gpr-query.el: Use with-no-warnings. * install.sh: Delete old comment, fix install command. --- ELPA.make | 2 +- gpr-query.el | 2 +- install.sh | 6 +----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/ELPA.make b/ELPA.make index 4006863f26..37595957e9 100644 --- a/ELPA.make +++ b/ELPA.make @@ -1,4 +1,4 @@ -4# For compiling gpr-query Ada code in elpa or devel worktree +# For compiling gpr-query Ada code in elpa or devel worktree #export Standard_Common_Build := Debug diff --git a/gpr-query.el b/gpr-query.el index 89bbe8f3da..b40222cd3e 100644 --- a/gpr-query.el +++ b/gpr-query.el @@ -754,7 +754,7 @@ FILE is from gpr-query." ;; WORKAROUND: in emacs 28 xref-location changed from defclass to ;; cl-defstruct. (require 'eieio) - (with-suppressed-warnings ;; "unknown slot" in emacs 28 + (with-no-warnings ;; "unknown slot" in emacs 28 (progn (defun xref-item-summary (item) (oref item summary)) (defun xref-item-location (item) (oref item location)) diff --git a/install.sh b/install.sh index b6d6c25113..f12b5a1f0f 100755 --- a/install.sh +++ b/install.sh @@ -4,10 +4,6 @@ # See build.sh for build (must be run before install). # $1 : optional <install dir> -# -# If you don't have write permission in the GNAT installation -# directory, you need to use --prefix=<dir>, or run with root -# privileges. if [ x$1 = x ]; then PREFIX=$HOME/.local @@ -19,7 +15,7 @@ fi echo "installing gpr-query executables to" $PREFIX/bin if type alr; then - cp emacs_gpr_query/bin/* $PREFIX/bin + cp emacs_gpr_query*/bin/* $PREFIX/bin elif type gprbuild; then cp bin/* $PREFIX/bin