summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2013-07-01 21:39:10 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2013-07-01 21:39:10 +0200
commit2a1e09d3d79e0daeee3f873487d7c0fce130a5fe (patch)
treeb182ce282de23c31602d8fdfc88c135a830f7167
parent1399ac696c436d4e97c2c6dbfdebd9244c5dca94 (diff)
downloadgeiser-guile-2a1e09d3d79e0daeee3f873487d7c0fce130a5fe.tar.gz
geiser-guile-2a1e09d3d79e0daeee3f873487d7c0fce130a5fe.tar.bz2
A couple of byte-compilation warnings gone
-rw-r--r--elisp/geiser-load.el.in1
-rw-r--r--elisp/geiser-popup.el4
-rw-r--r--elisp/geiser-repl.el4
3 files changed, 5 insertions, 4 deletions
diff --git a/elisp/geiser-load.el.in b/elisp/geiser-load.el.in
index 746558f..d23c7b9 100644
--- a/elisp/geiser-load.el.in
+++ b/elisp/geiser-load.el.in
@@ -1,3 +1,4 @@
+(defconst geiser-elisp-dir nil)
(setq geiser-elisp-dir (file-name-directory load-file-name))
(add-to-list 'load-path geiser-elisp-dir)
diff --git a/elisp/geiser-popup.el b/elisp/geiser-popup.el
index 5762436..200c4ef 100644
--- a/elisp/geiser-popup.el
+++ b/elisp/geiser-popup.el
@@ -1,6 +1,6 @@
;; geiser-popup.el -- popup windows
-;; Copyright (C) 2009, 2010, 2012 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010, 2012, 2013 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -16,7 +16,7 @@
(defvar geiser-popup--registry nil)
-(setq geiser-popup--overriding-map
+(defvar geiser-popup--overriding-map
(let ((map (make-sparse-keymap)))
(define-key map "q" 'View-quit)
map))
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index 4106fe8..324f93a 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -412,13 +412,13 @@ module command as a string")
(defun geiser-repl--read-input-ring ()
(let ((comint-input-ring-file-name (geiser-repl--history-file))
(comint-input-ring-separator geiser-repl--history-separator)
- (default-buffer-file-coding-system 'raw-text))
+ (buffer-file-coding-system 'raw-text))
(comint-read-input-ring t)))
(defun geiser-repl--write-input-ring ()
(let ((comint-input-ring-file-name (geiser-repl--history-file))
(comint-input-ring-separator geiser-repl--history-separator)
- (default-buffer-file-coding-system 'raw-text))
+ (buffer-file-coding-system 'raw-text))
(comint-write-input-ring)))
(defun geiser-repl--history-setup ()