Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Commit

Permalink
fix bug where subword-capitalize was being incorrectly aliased
Browse files Browse the repository at this point in the history
In Emacs versions older than 23.2, the function subword-capitalize was
called c-capitalize-subword and was part of the cc-subword feature. In
those versions we want to require that feature and have
subword-capitalize be an alias for c-capitalize-subword.
  • Loading branch information
Joe Snikeris committed Mar 14, 2012
1 parent 8b11d1c commit e18ba9e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/main/lisp/malabar-codegen.el
Expand Up @@ -19,10 +19,11 @@
;;
(require 'cl)
(require 'cc-cmds)
(if (and (<= emacs-major-version 23)
(< emacs-minor-version 2))
(require 'cc-subword)
(require 'subword)
(if (or (> emacs-major-version 23)
(and (= emacs-major-version 23)
(>= emacs-minor-version 2)))
(require 'subword)
(require 'cc-subword)
(fset 'subword-capitalize 'c-capitalize-subword))

(if malabar-use-external-cedet
Expand Down

0 comments on commit e18ba9e

Please sign in to comment.