emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ada-mode f257b28 2/5: Fix more byte-compiler style warn


From: Stephen Leake
Subject: [elpa] externals/ada-mode f257b28 2/5: Fix more byte-compiler style warnings
Date: Fri, 30 Jul 2021 19:33:05 -0400 (EDT)

branch: externals/ada-mode
commit f257b2849fc85e0870c9fb11c02589d09bdcbdbd
Author: Stephen Leake <stephen_leake@stephe-leake.org>
Commit: Stephen Leake <stephen_leake@stephe-leake.org>

    Fix more byte-compiler style warnings
    
    * ada-core.el: More byte-compiler style warnings.
    * ada-indent-user-options.el:
    * ada-mode.el (ada-mode):
---
 ada-core.el                | 2 +-
 ada-indent-user-options.el | 3 ++-
 ada-mode.el                | 2 --
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/ada-core.el b/ada-core.el
index c0aac0a..074ab2c 100644
--- a/ada-core.el
+++ b/ada-core.el
@@ -721,7 +721,7 @@ Deselects the current project first."
   "Set PROJECT options that are Ada and compiler specific.")
 
 (cl-defgeneric ada-prj-deselect-compiler (compiler project)
-  "PROJECT has been deselected; unset any project options that are both Ada 
and compiler specific.")
+  "Unset any PROJECT options that are both Ada and compiler specific.")
 
 (cl-defmethod wisi-prj-select :after ((project ada-prj))
   (ada-prj-select-compiler (ada-prj-compiler project) project))
diff --git a/ada-indent-user-options.el b/ada-indent-user-options.el
index 76a417e..479b4b2 100644
--- a/ada-indent-user-options.el
+++ b/ada-indent-user-options.el
@@ -171,7 +171,8 @@ An example is:
 
 (defcustom ada-indent-hanging-rel-exp nil
   "If nil, indent hanging lines in an expression relative to the first line.
-Otherwise, indent by `ada-indent-broken' relative to the start of the 
expression."
+Otherwise, indent by `ada-indent-broken' relative to the start of
+the expression."
   :type 'boolean
   :safe #'booleanp)
 (make-variable-buffer-local 'ada-indent-hanging-rel-exp)
diff --git a/ada-mode.el b/ada-mode.el
index d3c1c2b..7d1959c 100644
--- a/ada-mode.el
+++ b/ada-mode.el
@@ -1602,8 +1602,6 @@ Prompts with completion, defaults to filename at point."
 
   (setq align-mode-rules-list ada-align-rules)
 
-  (easy-menu-add ada-mode-menu ada-mode-map)
-
   (wisi-setup
    :indent-calculate '(ada-wisi-comment)
    :post-indent-fail 'ada-wisi-post-parse-fail



reply via email to

[Prev in Thread] Current Thread [Next in Thread]