home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / help-lucid-emacs / text0065.txt < prev    next >
Encoding:
Text File  |  1993-07-14  |  712 b   |  26 lines

  1. In tar-mode, when I issue a  view command ('v' for tar-view), I always
  2. get an error message complaining  about wrong number  of arguments.  I
  3. have to make the following change in tar-view.el to make it work:
  4.  
  5. ;; segment from function tar-extract
  6. (if view-p
  7.   (if tar-view-kill-buffer
  8.     (progn
  9.       (view-buffer buffer)
  10.       (and just-created (kill-buffer buffer)))
  11.     (view-buffer buffer))
  12.                  ^^^^^^
  13.  
  14. That is, to give view-buffer an argument in case  tar-view-kill-buffer
  15. is nil.
  16.  
  17. But which side is wrong?  tar-mode or view-less?
  18.  
  19. Thanks,
  20. --
  21. Yan ZHOU (yan@nimbus.anu.edu.au)
  22. Computer Sciences Laboratory
  23. Research School of Physical Sciences and Engineering
  24. The Australian National University
  25.  
  26.