Package: emacs22-common
Version: 22.2+1-1
Severity: normal

M-x toggle-debug-on-error
C-h C-p
==>
Debugger entered--Lisp error: (wrong-number-of-arguments #[(filename)
"<binary junk>" [file data-directory expand-file-name file-exists-p
".dfsg"] 3 863922] 2)
  debian-expand-file-name-dfsg("THE-GNU-PROJECT" "/usr/share/emacs/22.2/etc/")
  describe-gnu-project()
  call-interactively(describe-gnu-project)

-----BEGIN PATCH-------
--- help.el.orig        2008-04-21 22:40:07.099400962 +0300
+++ help.el     2008-04-21 22:52:28.042076263 +0300
@@ -284,10 +284,10 @@
 (defun debian-expand-file-name-dfsg (filename)
   "Apply expand-file-name to FILENAME.
 If expand-file-name does not find a file, append `.dfsg' and try again."
-  (let ((file (expand-file-name file data-directory)))
+  (let ((file (expand-file-name filename data-directory)))
     (if (file-exists-p file)
         file
-      (expand-file-name (concat file ".dfsg") data-directory))))
+      (expand-file-name (concat filename ".dfsg") data-directory))))

 (defun describe-distribution ()
   "Display info on how to obtain the latest version of GNU Emacs."
@@ -303,7 +303,7 @@
 (defun describe-gnu-project ()
   "Display info on the GNU project."
   (interactive)
-  (view-file (debian-expand-file-name-dfsg "THE-GNU-PROJECT" data-directory))
+  (view-file (debian-expand-file-name-dfsg "THE-GNU-PROJECT"))
   (goto-char (point-min)))

 (define-obsolete-function-alias 'describe-project 'describe-gnu-project "22.2")
-----END PATCH-----

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs22-common depends on:
ii  dpkg                          1.14.16.6  package maintenance system for Deb
ii  emacsen-common                1.4.17     Common facilities for all emacsen

emacs22-common recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to