Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
449657e8
Commit
449657e8
authored
Dec 05, 2006
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(cperl-mode): Define abbrevs even if abbrev-table is non-nil (saved
user abbrevs may have been restored).
parent
4673156b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
lisp/progmodes/cperl-mode.el
lisp/progmodes/cperl-mode.el
+3
-4
No files found.
lisp/progmodes/cperl-mode.el
View file @
449657e8
...
...
@@ -1681,7 +1681,6 @@ or as help on variables `cperl-tips', `cperl-problems',
[(control c) (control h) f])))
(setq major-mode cperl-use-major-mode)
(setq mode-name "CPerl")
(if (not cperl-mode-abbrev-table)
(let ((prev-a-c abbrevs-changed))
(define-abbrev-table 'cperl-mode-abbrev-table '(
("if" "if" cperl-electric-keyword 0)
...
...
@@ -1704,7 +1703,7 @@ or as help on variables `cperl-tips', `cperl-problems',
("over" "over" cperl-electric-pod 0)
("head1" "head1" cperl-electric-pod 0)
("head2" "head2" cperl-electric-pod 0)))
(setq abbrevs-changed prev-a-c))
)
(setq abbrevs-changed prev-a-c))
(setq local-abbrev-table cperl-mode-abbrev-table)
(if (cperl-val 'cperl-electric-keywords)
(abbrev-mode 1))
...
...
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