all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* minor fix to mspools.el
@ 2010-10-24 19:11 T.V. Raman
  2010-10-24 21:45 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: T.V. Raman @ 2010-10-24 19:11 UTC (permalink / raw
  To: emacs-devel

-- 
Best Regards,
--raman
the code in mspools.el has a small bug -- sent backtrace earlier
via reporter (or at least tried t)

The fix is easy --code below:
It presently defines mspools-mode-map via a let form inside a
defvar, but omits to return the locally created map from the let
form.
I've marked the line to add with a '+':

(defvar mspools-mode-map
  (let ((map (make-sparse-keymap)))
    (define-key map "\C-c\C-c" 'mspools-visit-spool)
    (define-key map "\C-m" 'mspools-visit-spool)
    (define-key map " " 'mspools-visit-spool)
    (define-key map "?" 'mspools-help)
    (define-key map "q" 'mspools-quit)
    (define-key map "n" 'next-line)
    (define-key map "p" 'previous-line)
    (define-key map "g" 'revert-buffer)
+map)
  "Keymap for the *spools* buffer.")

-- 
Best Regards,
--raman



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: minor fix to mspools.el
  2010-10-24 19:11 minor fix to mspools.el T.V. Raman
@ 2010-10-24 21:45 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2010-10-24 21:45 UTC (permalink / raw
  To: T.V. Raman; +Cc: emacs-devel

"T.V. Raman" <tv.raman.tv@gmail.com> writes:

> the code in mspools.el has a small bug -- sent backtrace earlier
> via reporter (or at least tried t)
>
> The fix is easy --code below:

Thanks.  Looks like a typo from the 2010-10-10 keymap cleanup.  I've
committed your fix.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-24 21:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-24 19:11 minor fix to mspools.el T.V. Raman
2010-10-24 21:45 ` Chong Yidong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.