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
commitf273fa0ebbc2f94e2b0134a7e8824123fbb76f03 (patch)
treed393b94b88d255807c7b74bdbe580319e25cfe4d
parentd0b0b31399fe00b877b5dfefc2e3563aa6f257ed (diff)
downloadgeiser-chez-f273fa0ebbc2f94e2b0134a7e8824123fbb76f03.tar.gz
geiser-chez-f273fa0ebbc2f94e2b0134a7e8824123fbb76f03.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)