This commit is contained in:
Jean-Philippe Bernardy 2015-11-09 20:28:48 +01:00
parent ace0919a0c
commit d408e21250
2 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@
(define-key boon-c-map "," (lambda () (interactive) (boon-push-events "C-c C-,")))
(define-key boon-c-map "." (lambda () (interactive) (boon-push-events "C-c C-.")))
(define-key boon-c-map ">" (lambda () (interactive) (boon-push-events "C-c C->")))
(define-key boon-c-map "" (lambda () (interactive) (boon-push-events "C-c C-")))
(define-key boon-c-map "<" (lambda () (interactive) (boon-push-events "C-c C-<")))
(define-key boon-c-map "=" (lambda () (interactive) (boon-push-events "C-c C-=")))
(define-key boon-c-map "[" (lambda () (interactive) (boon-push-events "C-c [")))
(define-key boon-c-map "]" (lambda () (interactive) (boon-push-events "C-c ]")))

View file

@ -158,9 +158,9 @@ NOTE: Do not run for every cursor."
"Return non-nil if the point is at the current line indentation."
(eq (save-excursion (back-to-indentation) (point)) (point)))
(defun boon-smarter-upward ()
(defun boon-smarter-upward (count)
"Move upward, to a line with the same level of indentation, or less."
(interactive)
(interactive "p")
(back-to-indentation)
(dotimes (number count)
(previous-logical-line)