summaryrefslogtreecommitdiff
path: root/elisp
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
commitae7bb5d6ff1595a28557d7cda2416e1cbce680f3 (patch)
tree7e20cf57eb106809018dbc463c35d3b23c371438 /elisp
parentb27c4f36aac5206403f72e3fe87740fa042f01ec (diff)
downloadgeiser-ae7bb5d6ff1595a28557d7cda2416e1cbce680f3.tar.gz
geiser-ae7bb5d6ff1595a28557d7cda2416e1cbce680f3.tar.bz2
A couple of byte-compilation warnings gone
Diffstat (limited to 'elisp')
-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 ()