changeset 108643:d9c9cf61db24

* progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 18 May 2010 09:52:10 +0200
parents 66f3c521df14
children 93ce9eec5a2f
files lisp/ChangeLog lisp/progmodes/prolog.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue May 18 09:44:07 2010 +0200
+++ b/lisp/ChangeLog	Tue May 18 09:52:10 2010 +0200
@@ -1,5 +1,7 @@
 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
 
+	* progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
+
 	* emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
 	(smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
 
--- a/lisp/progmodes/prolog.el	Tue May 18 09:44:07 2010 +0200
+++ b/lisp/progmodes/prolog.el	Tue May 18 09:52:10 2010 +0200
@@ -31,6 +31,7 @@
 
 (defvar comint-prompt-regexp)
 (defvar comint-process-echoes)
+(defvar smie-indent-basic)
 
 (defgroup prolog nil
   "Major mode for editing and running Prolog under Emacs."
@@ -179,7 +180,7 @@
     (define-key map "\C-c\C-l" 'inferior-prolog-load-file)
     (define-key map "\C-c\C-z" 'switch-to-prolog)
     map))
- 
+
 (easy-menu-define prolog-mode-menu prolog-mode-map "Menu for Prolog mode."
   ;; Mostly copied from scheme-mode's menu.
   ;; Not tremendously useful, but it's a start.