summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ravi-init-function.el13
1 files changed, 4 insertions, 9 deletions
diff --git a/ravi-init-function.el b/ravi-init-function.el
index b4dc744..671d45c 100644
--- a/ravi-init-function.el
+++ b/ravi-init-function.el
@@ -1,9 +1,9 @@
;;; ravi-init-function.el --- functionality
-;; Copyright (C) 2013
+;; Copyright (C) 2013
;; Author: <ravi@nero.lan>
-;; Keywords:
+;; Keywords:
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -25,16 +25,11 @@
;;; Code:
;; Enable emacs functionality that is disabled by default
-(put 'eval-expression 'disabled nil)
-;(put 'set-goal-column 'disabled nil)
-(put 'narrow-to-page 'disabled nil)
-(put 'narrow-to-region 'disabled nil)
-(put 'downcase-region 'disabled nil)
-(put 'upcase-region 'disabled nil)
+(setq disabled-command-function nil)
;(setq enable-recursive-minibuffers t)
;; Use emacsclient from other programs
-(server-start)
+(unless (server-running-p) (server-start))
(provide 'ravi-init-function)
;;; ravi-init-function.el ends here