emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r116909: vhdl-mode.el small fixup


From: Glenn Morris
Subject: [Emacs-diffs] trunk r116909: vhdl-mode.el small fixup
Date: Mon, 31 Mar 2014 00:09:06 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116909
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sun 2014-03-30 17:08:55 -0700
message:
  vhdl-mode.el small fixup
  
  * 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
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/progmodes/vhdl-mode.el    
vhdlmode.el-20091113204419-o5vbwnq5f7feedwu-1258
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-03-30 19:12:57 +0000
+++ b/lisp/ChangeLog    2014-03-31 00:08:55 +0000
@@ -1,3 +1,8 @@
+2014-03-31  Glenn Morris  <address@hidden>
+
+       * 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  <address@hidden>
 
        * comint.el (comint-send-input): Deactivate

=== modified file 'lisp/progmodes/vhdl-mode.el'
--- a/lisp/progmodes/vhdl-mode.el       2014-03-26 03:58:25 +0000
+++ b/lisp/progmodes/vhdl-mode.el       2014-03-31 00:08:55 +0000
@@ -12635,17 +12635,15 @@
  (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]