Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
a3610f0c
Commit
a3610f0c
authored
Nov 19, 2008
by
Lute Kamstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(auto-insert-alist): Don't use match data.
parent
688d0744
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
lisp/ChangeLog
lisp/ChangeLog
+6
-1
lisp/autoinsert.el
lisp/autoinsert.el
+2
-2
No files found.
lisp/ChangeLog
View file @
a3610f0c
2008-11-19 Lute Kamstra <lute@gnu.org>
* autoinsert.el (auto-insert-alist): Don't use match data.
2008-11-19 Glenn Morris <rgm@gnu.org>
* progmodes/f90.el (f90-mode-map): Add some menu :help.
...
...
@@ -15,7 +19,8 @@
* textmodes/ispell.el (ispell-dictionary-base-alist): Adjust to the
case where the default dictionary is French, Spanish, younameit.
* window.el (window--frame-usable-p): Consider dedicated windows as usable.
* window.el (window--frame-usable-p): Consider dedicated windows
as usable.
* files.el (confirm-nonexistent-file-or-buffer):
Rename from find-file-confirm-nonexistent-file.
...
...
lisp/autoinsert.el
View file @
a3610f0c
...
...
@@ -93,9 +93,9 @@ If this contains a %s, that will be replaced by the matching rule."
(
defcustom
auto-insert-alist
'
(((
"\\.\\([Hh]\\|hh\\|hpp\\)\\'"
.
"C / C++ header"
)
(
upcase
(
concat
(
file-name-nondirectory
(
substring
buffer-file-name
0
(
match-beginning
0
)
))
(
file-name-sans-extension
buffer-file-name
))
"_"
(
substring
buffer-file-name
(
1+
(
match-beginning
0
))
)))
(
file-name-extension
buffer-file-name
)))
"#ifndef "
str
\n
"#define "
str
"\n\n"
_
"\n\n#endif"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment