[ESS] ess patch: avoid (error "Invalid buffer")
Sam Steingold
sds at gnu.org
Mon Feb 27 18:26:38 CET 2012
> * Vitalie Spinu <fcvahivg at tznvy.pbz> [2012-02-27 18:12:50 +0100]:
>
> Thanks for the catch, it's applied now.
you are welcome.
also, you probably want to bind keys to kill-this-buffer, not kill-buffer:
Index: ess-help.el
===================================================================
--- ess-help.el (revision 4654)
+++ ess-help.el (working copy)
@@ -550,7 +551,7 @@ For internal use. Used in `ess-display-h
(define-key ess-help-mode-map ">" 'end-of-buffer)
(define-key ess-help-mode-map "<" 'beginning-of-buffer)
(define-key ess-help-mode-map "x" 'ess-kill-buffer-and-go)
- (define-key ess-help-mode-map "k" 'kill-buffer)
+ (define-key ess-help-mode-map "k" 'kill-this-buffer)
(define-key ess-help-mode-map "?" 'ess-describe-help-mode)
;;-- those should be "inherited" from ess-mode-map ( ./ess-mode.el )
(define-key ess-help-mode-map "\C-c\C-s" 'ess-switch-process)
@@ -593,7 +594,7 @@ For internal use. Used in `ess-display-h
"-"
["Describe ESS-help Mode" ess-describe-help-mode t]
"-"
- ["Kill Buffer" kill-buffer t]
+ ["Kill Buffer" kill-this-buffer t]
["Kill Buffer & Go" ess-kill-buffer-and-go t]
)
"Menu used in ess-help mode.")
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000
http://www.childpsy.net/ http://www.PetitionOnline.com/tap12009/
http://dhimmi.com http://mideasttruth.com http://honestreporting.com
If you know that you know nothing, you know too much.
More information about the ESS-help
mailing list