]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/ada-mode/ada-imenu.el
Merge commit '082a702f5a4a07bc10052befd7a2b20cc8a0cdb8'
[gnu-emacs-elpa] / packages / ada-mode / ada-imenu.el
index 459aa12d6aff6d55a2fdcf59901c7b531f099f9b..f5af9e1778ce3d4ad2990a18b06b7943d02610af 100644 (file)
@@ -1,6 +1,6 @@
-;;; ada-imenu.el - Ada mode interface to imenu for Ada Mode
+;;; ada-imenu.el - Ada mode interface to imenu for Ada Mode  -*- lexical-binding:t -*-
 
-;; Copyright (C) 2012, 2013  Free Software Foundation, Inc.
+;; Copyright (C) 2012, 2013, 2015  Free Software Foundation, Inc.
 ;;
 ;; Author: Simon Wright <simon@pushface.org>
 ;; Contributors: see ada-mode.el, and specifically Christian Egli
@@ -70,7 +70,7 @@ each type of entity that can be found in an Ada file.")
 )
 
 ;; ada--imenu-mode does not depend on file local variables
-(add-hook 'ada-mode-hook 'ada--imenu-mode)
+(add-hook 'ada-mode-hook #'ada--imenu-mode)
 
 (provide 'ada-imenu)