mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
; More minor stylistic fixes found by checkdoc
This commit is contained in:
parent
7f06fe894c
commit
aebba085cb
129 changed files with 447 additions and 408 deletions
|
|
@ -455,8 +455,9 @@ reference.")
|
|||
;; because Emacs turns C-c C-i into C-c TAB which is hard to type and
|
||||
;; not mnemonic.
|
||||
"Major mode for editing XML.
|
||||
|
||||
\\<nxml-mode-map>
|
||||
\\[nxml-finish-element] finishes the current element by inserting an end-tag.
|
||||
|
||||
C-c C-i closes a start-tag with `>' and then inserts a balancing end-tag
|
||||
leaving point between the start-tag and end-tag.
|
||||
\\[nxml-balanced-close-start-tag-block] is similar but for block rather than inline elements:
|
||||
|
|
|
|||
|
|
@ -501,7 +501,7 @@ saved to the first writable file in `rng-schema-locating-files'."
|
|||
nil
|
||||
(error "Buffer does not have a filename")))
|
||||
((and prompt
|
||||
(not (y-or-n-p (format "Save %s to %s "
|
||||
(not (y-or-n-p (format "Save %s to %s?"
|
||||
(if type-id
|
||||
"type identifier"
|
||||
"schema location")
|
||||
|
|
@ -539,7 +539,7 @@ saved to the first writable file in `rng-schema-locating-files'."
|
|||
locating-file-uri))))))
|
||||
(indent-according-to-mode)
|
||||
(when (or (not modified)
|
||||
(y-or-n-p (format "Save file %s "
|
||||
(y-or-n-p (format "Save file %s?"
|
||||
(buffer-file-name))))
|
||||
(save-buffer))))))))
|
||||
|
||||
|
|
|
|||
|
|
@ -962,9 +962,8 @@ Return nil at end of buffer, t otherwise."
|
|||
(and type t)))
|
||||
|
||||
(defun rng-process-start-tag (tag-type)
|
||||
"TAG-TYPE is `start-tag' for a start-tag, `empty-element' for
|
||||
an empty element. `partial-empty-element' should be passed
|
||||
as empty-element."
|
||||
"TAG-TYPE is `start-tag' for a start-tag, `empty-element' for an empty element.
|
||||
`partial-empty-element' should be passed as empty-element."
|
||||
(and rng-collecting-text (rng-flush-text))
|
||||
(setq rng-collecting-text nil)
|
||||
(setq rng-pending-contents nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue