]> git.eshelyaron.com Git - emacs.git/commitdiff
vhdl-mode.el small fixup
authorGlenn Morris <rgm@gnu.org>
Mon, 31 Mar 2014 00:08:55 +0000 (17:08 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 31 Mar 2014 00:08:55 +0000 (17:08 -0700)
* lisp/progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
Revert 2014-03-26 merge goof; go back to using defalias.

Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg01104.html

lisp/ChangeLog
lisp/progmodes/vhdl-mode.el

index af658ee09b695cb8e055f2410f8a073cbe10c35d..6f0afb1a9e4ebcbb7f377c20fd1776194018ca5c 100644 (file)
@@ -1,3 +1,8 @@
+2014-03-31  Glenn Morris  <rgm@gnu.org>
+
+       * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
+       Revert 2014-03-26 merge goof; go back to using defalias.
+
 2014-03-30  Daniel Colascione  <dancol@dancol.org>
 
        * comint.el (comint-send-input): Deactivate
index 458c4bd15f5aff4bf0236aab0059cb97214013b7..f8d5f115c6216dd498403a039d26693190f480fd 100644 (file)
@@ -12635,17 +12635,15 @@ expressions (e.g. for index ranges of types and signals)."
  (defalias 'he-list-beg 'vhdl-he-list-beg))
 
 ;; function for expanding abbrevs and dabbrevs
-(defun vhdl-expand-abbrev (arg))
-(fset 'vhdl-expand-abbrev (make-hippie-expand-function
-                          '(try-expand-dabbrev
-                            try-expand-dabbrev-all-buffers
-                            vhdl-try-expand-abbrev)))
+(defalias 'vhdl-expand-abbrev (make-hippie-expand-function
+                              '(try-expand-dabbrev
+                                try-expand-dabbrev-all-buffers
+                                vhdl-try-expand-abbrev)))
 
 ;; function for expanding parenthesis
-(defun vhdl-expand-paren (arg))
-(fset 'vhdl-expand-paren (make-hippie-expand-function
-                         '(try-expand-list
-                           try-expand-list-all-buffers)))
+(defalias 'vhdl-expand-paren (make-hippie-expand-function
+                             '(try-expand-list
+                               try-expand-list-all-buffers)))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Line handling functions