summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2011-09-15 03:15:18 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2011-09-15 03:15:18 +0200
commitfa250dbf7620a050f61c4ccc5496507ade9bff82 (patch)
tree8e031cb8d41081cb505aa16ebe723b55395bd62c
parentebad1fd4e47d87d2780ef29ed209f3cd0fed928c (diff)
downloadgeiser-fa250dbf7620a050f61c4ccc5496507ade9bff82.tar.gz
geiser-fa250dbf7620a050f61c4ccc5496507ade9bff82.tar.bz2
Compatibility with filladapt.
Seems like the add-on package filladapt.el is broken in that its version of fill-adapt uses a non-optional first argument. Aquamacs users were filling the pain. Fixed by passing nil in our call to fill-paragraph. Hat tip Jonathan Oddie.
-rw-r--r--elisp/geiser-doc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-doc.el b/elisp/geiser-doc.el
index c085718..ad16f92 100644
--- a/elisp/geiser-doc.el
+++ b/elisp/geiser-doc.el
@@ -1,6 +1,6 @@
;;; geiser-doc.el -- accessing scheme-provided documentation
-;; Copyright (C) 2009, 2010 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010, 2011 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
@@ -224,7 +224,7 @@ help (e.g. browse an HTML page) implementing this method.")
(defun geiser-doc--insert-title (title)
(let ((p (point)))
(insert (format "%s" title))
- (fill-paragraph)
+ (fill-paragraph nil)
(let ((indent-line-function 'lisp-indent-line))
(indent-region p (point)))
(put-text-property p (point) 'face 'geiser-font-lock-doc-title)