Rename: ...collapsed-all -> ...output-visibility-all

This commit is contained in:
Takafumi Arakaki 2012-08-26 18:16:53 +02:00
parent 4e299ae137
commit 438926a5cc
3 changed files with 4 additions and 4 deletions

View file

@ -200,7 +200,7 @@ Keybinds - Notebook
C-c C-s ein:worksheet-split-cell-at-point
C-c C-t ein:worksheet-toggle-cell-type
C-c C-u ein:worksheet-change-cell-type
C-c C-v ein:worksheet-set-collapsed-all
C-c C-v ein:worksheet-set-output-visibility-all
C-c C-w ein:worksheet-copy-cell
C-c C-x ein:tb-show
C-c C-y ein:worksheet-yank-cell

View file

@ -730,7 +730,7 @@ Do not use `python-mode'. Use plain mode when MuMaMo is not installed::
'ein:worksheet-execute-cell-and-insert-below)
(define-key map (kbd "C-c C-'") 'ein:worksheet-turn-on-autoexec)
(define-key map "\C-c\C-e" 'ein:worksheet-toggle-output)
(define-key map "\C-c\C-v" 'ein:worksheet-set-collapsed-all)
(define-key map "\C-c\C-v" 'ein:worksheet-set-output-visibility-all)
(define-key map "\C-c\C-l" 'ein:worksheet-clear-output)
(define-key map (kbd "C-c C-S-l") 'ein:worksheet-clear-all-output)
(define-key map (kbd "C-c C-;") 'ein:shared-output-show-code-cell-at-point)

View file

@ -551,8 +551,8 @@ This does not alter the actual data stored in the cell."
(ein:notebook-empty-undo-maybe)
(oset ws :dirty t))
(defun ein:worksheet-set-collapsed-all (ws collapsed)
"Hide all cell output. When prefix is given, show all cell output."
(defun ein:worksheet-set-output-visibility-all (ws &optional collapsed)
"Show all cell output. When prefix is given, hide all cell output."
(interactive (list (ein:worksheet--get-ws-or-error) current-prefix-arg))
(when collapsed (setq collapsed t)) ; force it to be a boolean
(mapc (lambda (c)