X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/f89ef19f5f80afb42ef8e24a0e2beaf6c7b4efeb..738336fb9a1fb836a5436b5f417727845906870d:/packages/ada-mode/gnat-inspect.el diff --git a/packages/ada-mode/gnat-inspect.el b/packages/ada-mode/gnat-inspect.el index 5fb2d4ba5..b7b839bd6 100644 --- a/packages/ada-mode/gnat-inspect.el +++ b/packages/ada-mode/gnat-inspect.el @@ -1,10 +1,9 @@ -;;; gnat-inspect.el --- minor-mode for navigating sources using the -;;; AdaCore cross reference tool gnatinspect. -;;; -;;; gnatinspect supports Ada and any gcc language that supports the -;;; -fdump-xref switch (which includes C, C++). +;;; gnat-inspect.el --- Minor-mode for navigating sources using gnatinspect -*- lexical-binding:t -*- + +;; gnatinspect supports Ada and any gcc language that supports the +;; -fdump-xref switch (which includes C, C++). ;; -;;; Copyright (C) 2013, 2014 Free Software Foundation, Inc. +;; Copyright (C) 2013-2015 Free Software Foundation, Inc. ;; Author: Stephen Leake ;; Maintainer: Stephen Leake @@ -215,7 +214,7 @@ set compilation-mode with compilation-error-regexp-alist set to COMP-ERR." (setq result-count (- (line-number-at-pos) 1)) (if (fboundp 'font-lock-ensure) (font-lock-ensure) - (font-lock-fontify-buffer)) + (with-no-warnings (font-lock-fontify-buffer))) ;; font-lock-fontify-buffer applies compilation-message text properties ;; NOTE: Won't be needed in 24.5 any more, since compilation-next-error ;; will apply compilation-message text properties on the fly.