mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore(editor): add missing interactive call to helper commands
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
(defun siren-display-fill-column (&optional arg)
|
||||
"Activate or deactivate visual fill column.
|
||||
Optional ARG is passed directly to mode toggle function."
|
||||
(interactive)
|
||||
(display-fill-column-indicator-mode arg)))
|
||||
|
||||
;; Emacs 26.x: Use fill-column-indicator package
|
||||
@@ -36,6 +37,7 @@ Optional ARG is passed directly to mode toggle function."
|
||||
(defun siren-display-fill-column (&optional arg)
|
||||
"Activate or deactivate visual fill column.
|
||||
Optional ARG is passed directly to mode toggle function."
|
||||
(interactive)
|
||||
(fci-mode (or arg t))))
|
||||
|
||||
(provide 'siren-display-fill-column)
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
(defun siren-display-indentation (&optional arg)
|
||||
"Activate or deactivate indentation guides.
|
||||
Optional ARG is passed directly to mode toggle function."
|
||||
(highlight-indent-guides-mode (or arg t)))
|
||||
(interactive)
|
||||
(highlight-indent-guides-mode arg))
|
||||
|
||||
(provide 'siren-display-indentation)
|
||||
;;; siren-display-indentation.el ends here
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
(defun siren-display-line-numbers (&optional arg)
|
||||
"Activate or deactivate line numbers.
|
||||
Optional ARG is passed directly to mode toggle function."
|
||||
(display-line-numbers-mode (or arg t)))
|
||||
(interactive)
|
||||
(display-line-numbers-mode arg))
|
||||
|
||||
;; Fix issue were the left fringe's is cut off by one pixel on the left side.
|
||||
;; from: https://github.com/dgutov/diff-hl/issues/94#issuecomment-334168416
|
||||
|
||||
Reference in New Issue
Block a user