Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

=Minor bugfixes.

  • Loading branch information...
commit 200c52c57a52224a13ae168b3a176cef4bdaaabf 1 parent 832c055
José Alfredo Romero L. escherdragon authored

Showing 1 changed file with 6 additions and 3 deletions. Show diff stats Hide diff stats

  1. +6 3 sunrise-commander.el
9 sunrise-commander.el
@@ -786,7 +786,7 @@ Helper macro for passive & synchronized navigation."
786 786 (interactive)
787 787 (when (eq major-mode 'sr-mode)
788 788 (let ((focus (dired-get-filename 'verbatim t)))
789   - (sr-virtual-mode)
  789 + (sr-save-aspect (sr-virtual-mode))
790 790 (if focus (sr-focus-filename focus)))))
791 791
792 792 (defun sr-virtual-dismiss ()
@@ -3100,6 +3100,7 @@ made only inside subdirs."
3100 3100 (kill-local-variable 'sr-find-items)))
3101 3101 (sr-beginning-of-buffer)
3102 3102 (sr-highlight)
  3103 + (hl-line-mode 1)
3103 3104 (sr-backup-buffer)))
3104 3105 (ad-activate 'find-dired-sentinel)
3105 3106
@@ -3184,7 +3185,8 @@ Used to notify about the termination status of the process."
3184 3185 (insert " at " (substring (current-time-string) 0 19))
3185 3186 (forward-char 1))
3186 3187 (sr-beginning-of-buffer)
3187   - (sr-highlight)))
  3188 + (sr-highlight)
  3189 + (hl-line-mode 1)))
3188 3190
3189 3191 (defun sr-locate-prompt ()
3190 3192 "Display the message that appears when a locate process is launched."
@@ -3483,7 +3485,8 @@ and exists in `exec-path', then it will be used instead of the
3483 3485 default `sr-terminal-program'."
3484 3486 (interactive)
3485 3487 (let ((program (or program sr-terminal-program)))
3486   - (hl-line-mode 1)
  3488 + (if (memq major-mode '(sr-mode sr-virtual-mode sr-tree-mode))
  3489 + (hl-line-mode 1))
3487 3490 (if (string= program "eshell")
3488 3491 (sr-term-eshell cd newterm)
3489 3492 (sr-term-extern cd newterm program))))

0 comments on commit 200c52c

Please sign in to comment.
Something went wrong with that request. Please try again.