* abbrev output missing newline
@ 2009-08-03 22:14 Karl Chen
2009-08-04 20:06 ` Chong Yidong
0 siblings, 1 reply; 2+ messages in thread
From: Karl Chen @ 2009-08-03 22:14 UTC (permalink / raw
To: Emacs Developement List
In Emacs 23.1, in my .abbrev_defs, I'm getting a missing newline
between the "define-abbrev-table" line and the first abbrev:
(define-abbrev-table 'global-abbrev-table '( ("aagain" "again" nil 0)
("aaginst" "against" nil 0)
("abberviate" "abbreviate" nil 0)
This patch works for me.
--- abbrev.el 2009-08-03 18:05:51.805815015 -0400
+++ abbrev.el 2009-08-03 18:05:51.799490826 -0400
@@ -887,7 +887,7 @@
(insert "\n\n"))
(insert "(define-abbrev-table '")
(prin1 name)
- (insert " '(")
+ (insert " '(\n")
(mapc 'abbrev--write symbols)
(insert " ))\n\n"))
nil)))
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: abbrev output missing newline
2009-08-03 22:14 abbrev output missing newline Karl Chen
@ 2009-08-04 20:06 ` Chong Yidong
0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2009-08-04 20:06 UTC (permalink / raw
To: Karl Chen; +Cc: Emacs Developement List
Karl Chen <Karl.Chen@quarl.org> writes:
> In Emacs 23.1, in my .abbrev_defs, I'm getting a missing newline
> between the "define-abbrev-table" line and the first abbrev:
>
> (define-abbrev-table 'global-abbrev-table '( ("aagain" "again" nil 0)
> ("aaginst" "against" nil 0)
> ("abberviate" "abbreviate" nil 0)
>
> This patch works for me.
I checked in something similar. Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-04 20:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-03 22:14 abbrev output missing newline Karl Chen
2009-08-04 20:06 ` Chong Yidong
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.