From ae7bb5d6ff1595a28557d7cda2416e1cbce680f3 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Mon, 1 Jul 2013 21:39:10 +0200 Subject: A couple of byte-compilation warnings gone --- elisp/geiser-load.el.in | 1 + elisp/geiser-popup.el | 4 ++-- elisp/geiser-repl.el | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'elisp') 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 () -- cgit v1.2.3