mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
(dabbrev): Finish `defgroup' description with period.
(dabbrev-expand): "?\ " -> "?\s".
This commit is contained in:
parent
3938cb82d0
commit
a6bd541a05
@ -100,7 +100,7 @@
|
||||
;;----------------------------------------------------------------
|
||||
|
||||
(defgroup dabbrev nil
|
||||
"Dynamic Abbreviations"
|
||||
"Dynamic Abbreviations."
|
||||
:tag "Dynamic Abbreviations"
|
||||
:group 'abbrev
|
||||
:group 'convenience)
|
||||
@ -509,7 +509,7 @@ See also `dabbrev-abbrev-char-regexp' and \\[dabbrev-completion]."
|
||||
(setq direction dabbrev--last-direction))
|
||||
;; If the user inserts a space after expanding
|
||||
;; and then asks to expand again, always fetch the next word.
|
||||
(if (and (eq (preceding-char) ?\ )
|
||||
(if (and (eq (preceding-char) ?\s)
|
||||
(markerp dabbrev--last-abbrev-location)
|
||||
(marker-position dabbrev--last-abbrev-location)
|
||||
(= (point) (1+ dabbrev--last-abbrev-location)))
|
||||
|
Loading…
Reference in New Issue
Block a user