1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/japanese/lookup-emacs21/files/patch-aa
Satoshi Taoka 3c94e67047 lookup-1.3 has two bugs (do not do lookup-splash on XEmacs and
unable to compile on mule-2.3).
These patches is to fix these problems.
2000-07-10 17:36:21 +00:00

21 lines
752 B
Plaintext

--- lisp/lookup.el~ Fri Jun 16 12:44:14 2000
+++ lisp/lookup.el Sun Jun 25 00:53:24 2000
@@ -620,7 +620,8 @@
(defmacro logo-image ()
(with-temp-buffer
(cond ((featurep 'xemacs)
- (insert-file-contents lookup-logo-file))
+ (let ((format-alist nil))
+ (insert-file-contents lookup-logo-file)))
((locate-library "bitmap")
(require 'bitmap)
(bitmap-insert-xbm-file lookup-logo-file)
@@ -637,6 +638,7 @@
(or lookup-use-bitmap (featurep 'xemacs)))
(let ((buffer (get-buffer-create "*Lookup Logo*")))
(set-buffer buffer)
+ (setq fill-column (window-width))
(erase-buffer)
(if (featurep 'xemacs)
(let ((logo-glyph (make-glyph (vector 'xpm :data lookup-logo-image)))