mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
Do `interactive' mode tagging in the remaining lisp/gnus files
This commit is contained in:
parent
b535c8ba87
commit
398811b7f6
10 changed files with 109 additions and 102 deletions
|
|
@ -83,12 +83,12 @@ This mode is an extended emacs-lisp mode.
|
|||
|
||||
(defun gnus-score-edit-insert-date ()
|
||||
"Insert date in numerical format."
|
||||
(interactive)
|
||||
(interactive nil gnus-score-mode)
|
||||
(princ (time-to-days nil) (current-buffer)))
|
||||
|
||||
(defun gnus-score-pretty-print ()
|
||||
"Format the current score file."
|
||||
(interactive)
|
||||
(interactive nil gnus-score-mode)
|
||||
(goto-char (point-min))
|
||||
(let ((form (read (current-buffer))))
|
||||
(erase-buffer)
|
||||
|
|
@ -98,7 +98,7 @@ This mode is an extended emacs-lisp mode.
|
|||
|
||||
(defun gnus-score-edit-exit ()
|
||||
"Stop editing the score file."
|
||||
(interactive)
|
||||
(interactive nil gnus-score-mode)
|
||||
(unless (file-exists-p (file-name-directory (buffer-file-name)))
|
||||
(make-directory (file-name-directory (buffer-file-name)) t))
|
||||
(let ((coding-system-for-write score-mode-coding-system))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue