diff options
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/cperl-mode.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/prog-mode.el | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index ed021a7ebc9..d6efd5d75a4 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el @@ -6534,7 +6534,7 @@ in subdirectories too." ;; of etags has been commented out in the menu since ... well, ;; forever. So, let's just stick to ASCII here. -- haj, 2021-09-14 (interactive) - (let ((cmd "etags") + (let ((cmd etags-program-name) (args `("-l" "none" "-r" ;; 1=fullname 2=package? 3=name 4=proto? 5=attrs? (VERY APPROX!) ,(concat diff --git a/lisp/progmodes/prog-mode.el b/lisp/progmodes/prog-mode.el index a434c7e9058..16497097061 100644 --- a/lisp/progmodes/prog-mode.el +++ b/lisp/progmodes/prog-mode.el @@ -337,6 +337,8 @@ support it." (setq-local require-final-newline mode-require-final-newline) (setq-local parse-sexp-ignore-comments t) (add-hook 'context-menu-functions 'prog-context-menu 10 t) + ;; Enable text conversion in this buffer. + (setq-local text-conversion-style t) ;; Any programming language is always written left to right. (setq bidi-paragraph-direction 'left-to-right)) |