Skip to content

Commit

Permalink
More 100-col updates. (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
KineticTheory authored Oct 2, 2020
1 parent f2a7d84 commit dd74714
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions environment/elisp/draco-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ to anything else will generate errors."
(define-key draco-mode-map [(control f11)] 'speedbar)
(define-key draco-mode-map "\C-csb" 'speedbar)

;; CVS
(define-key draco-mode-map [(f9)] 'svn-examine)
(define-key draco-mode-map [(meta f9)] 'svn-status)
(define-key draco-mode-map [(control f9)] 'svn-checkout)

;; Mouse commands
(define-key draco-mode-map [(button3)] 'kill-region)
(define-key draco-mode-map [(meta button3)] 'delete-rectangle)
Expand Down Expand Up @@ -570,9 +565,9 @@ draco-companion-file-alist."
(defun draco-f77-subroutine-divider ()
"Insert a comment block.
c-----------------------------------------------------------------------------c
c-------------------------------------------------------------------------------------------------c
c
c-----------------------------------------------------------------------------c
c-------------------------------------------------------------------------------------------------c
"
(interactive)
(beginning-of-line)
Expand All @@ -588,7 +583,7 @@ c-----------------------------------------------------------------------------c
(defun draco-f77-comment-divider ()
"Insert a divider.
c-----------------------------------------------------------------------------c
c-------------------------------------------------------------------------------------------------c
"
(interactive)
(beginning-of-line)
Expand All @@ -603,9 +598,9 @@ c-----------------------------------------------------------------------------c
"Insert a LaTeX comment block."
(interactive)
(beginning-of-line)
(insert "%%---------------------------------------------------------------------------%%\n")
(insert "%%-----------------------------------------------------------------------------------------------%%\n")
(insert "%% \n")
(insert "%%---------------------------------------------------------------------------%%\n\n")
(insert "%%-----------------------------------------------------------------------------------------------%%\n\n")
(previous-line 3)
(end-of-line)
)
Expand All @@ -614,7 +609,7 @@ c-----------------------------------------------------------------------------c
"Insert a LaTeX divider."
(interactive)
(beginning-of-line)
(insert "%%---------------------------------------------------------------------------%%\n")
(insert "%%-----------------------------------------------------------------------------------------------%%\n")
(end-of-line)
)

Expand All @@ -629,9 +624,6 @@ c-----------------------------------------------------------------------------c
(insert "#")
(insert (make-string (- draco-code-comment-width 2) ?-))
(insert "#\n")
; (insert "#-------------------------------------------------------------------------------#\n")
; (insert "# \n")
; (insert "#-------------------------------------------------------------------------------#\n\n")
(previous-line 2)
(end-of-line)
)
Expand All @@ -644,7 +636,6 @@ c-----------------------------------------------------------------------------c
(insert "#")
(insert (make-string (- draco-code-comment-width 2) ?-))
(insert "#\n")
; (insert "#--------------------------------------------------------------------------------#\n")
(end-of-line)
)

Expand Down Expand Up @@ -703,7 +694,7 @@ c-----------------------------------------------------------------------------c
"Insert a HTML style divider."
(interactive)
(beginning-of-line)
(insert "<!---------------------------------------------------------------------------->\n")
(insert "<!------------------------------------------------------------------------------------------------>\n")
(end-of-line)
)

Expand All @@ -727,17 +718,17 @@ c-----------------------------------------------------------------------------c
"Insert an elisp divider."
(interactive)
(beginning-of-line)
(insert ";;---------------------------------------------------------------------------;;\n")
(insert ";;-----------------------------------------------------------------------------------------------;;\n")
(end-of-line)
)

(defun draco-elisp-divider ()
"Insert an elisp comment block."
(interactive)
(beginning-of-line)
(insert ";;---------------------------------------------------------------------------;;\n")
(insert ";;-----------------------------------------------------------------------------------------------;;\n")
(insert ";; \n")
(insert ";;---------------------------------------------------------------------------;;\n\n")
(insert ";;-----------------------------------------------------------------------------------------------;;\n\n")
(previous-line 3)
(end-of-line)
)
Expand Down

0 comments on commit dd74714

Please sign in to comment.