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
95aba610
Commit
95aba610
authored
Mar 18, 2017
by
Tom Tromey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change align to use derived-mode-p
* lisp/align.el (align-region): Use derived-mode-p.
parent
c92bae9a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/align.el
lisp/align.el
+1
-1
No files found.
lisp/align.el
View file @
95aba610
...
...
@@ -1322,7 +1322,7 @@ aligner would have dealt with are."
(
modes
(
assq
'modes
rule
)))
;; unless the `run-if' form tells us not to, look for the
;; rule..
(
unless
(
or
(
and
modes
(
not
(
memq
major
-mode
(
unless
(
or
(
and
modes
(
not
(
cl-member-if
#'
derived
-mode
-p
(
eval
(
cdr
modes
)))))
(
and
run-if
(
not
(
funcall
(
cdr
run-if
)))))
(
let*
((
case-fold-search
case-fold-search
)
...
...
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