* bug#2527: 23.0.91; abbrev-defs formating
@ 2009-03-01 21:54 Nikolaj Schumacher
2011-03-06 2:25 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Nikolaj Schumacher @ 2009-03-01 21:54 UTC (permalink / raw)
To: emacs-pretest-bug
[-- Attachment #1: Type: text/plain, Size: 687 bytes --]
Just a cosmetic issue, but previously the abbrev_defs looked like
this:
(define-abbrev-table 'c-mode-abbrev-table '( ("else" "else"
c-electric-continued-statement 0) ("while" "while"
c-electric-continued-statement 0) ...
Now the first two lines are on one very long line.
(define-abbrev-table 'c-mode-abbrev-table '( ("else" "else" ...
("while" "while" c-electric-continued-statement 0) ...
In GNU Emacs 23.0.91.3 (i386-apple-darwin9.6.0, NS
apple-appkit-949.43) of 2009-02-28 on thursday Windowing system
distributor `Apple', version 10.3.949 configured using `configure
'--with-ns' '--without-x' 'CFLAGS=-arch i386 -O2'' regards,
Nikolaj Schumacher
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-patch, Size: 529 bytes --]
commit d398bd17c1cfb7c6362c22eb8298eae37ae92c72
Author: Nikolaj Schumacher <git@nschum.de>
Date: Sun Mar 1 22:42:45 2009 +0100
Fixed abbrev formatting.
diff --git a/lisp/abbrev.el b/lisp/abbrev.el
index 0e8b2cf..445f53d 100644
--- a/lisp/abbrev.el
+++ b/lisp/abbrev.el
@@ -885,7 +885,7 @@ Abbrevs marked as \"system abbrevs\" are omitted."
(insert "\n\n"))
(insert "(define-abbrev-table '")
(prin1 name)
- (insert " '(")
+ (insert " '(\n")
(mapc 'abbrev--write symbols)
(insert " ))\n\n"))
nil)))
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-06 2:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-01 21:54 bug#2527: 23.0.91; abbrev-defs formating Nikolaj Schumacher
2011-03-06 2:25 ` Glenn Morris
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).